add packaging
[platform/upstream/git.git] / packaging / git-nohardlink.diff
1 don't use hardlinks as our .spec calls fdupes which converts the
2 hardlinks to symlinks again in an unpredicatable way
3 ---
4  Makefile |    1 -
5  1 file changed, 1 deletion(-)
6
7 --- a/Makefile
8 +++ b/Makefile
9 @@ -2252,7 +2252,6 @@
10         done && \
11         for p in $(BUILT_INS); do \
12                 $(RM) "$$execdir/$$p" && \
13 -               ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
14                 ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \
15                 cp "$$execdir/git$X" "$$execdir/$$p" || exit; \
16         done && \