symlinks-in-bin.patch
13 lines
| 615 B
| text/x-diff
|
DiffLexer
r272 | diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile | |||
--- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200 | ||||
+++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200 | ||||
@@ -2319,8 +2319,7 @@ | ||||
{ test "$$bindir/" = "$$execdir/" || \ | ||||
for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \ | ||||
$(RM) "$$execdir/$$p" && \ | ||||
- test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \ | ||||
- ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \ | ||||
+ ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \ | ||||
cp "$$bindir/$$p" "$$execdir/$$p" || exit; \ | ||||
done; \ | ||||
} && \ | ||||