1
0

patch-Makefile 951 B

123456789101112131415161718192021222324
  1. --- git-1.6.4.1.orig/Makefile 2009-08-22 06:54:01.000000000 +0200
  2. +++ git-1.6.4.1/Makefile 2009-08-23 12:11:07.755226105 +0200
  3. @@ -1345,7 +1345,6 @@ builtin-help.o: builtin-help.c common-cm
  4. $(BUILT_INS): git$X
  5. $(QUIET_BUILT_IN)$(RM) $@ && \
  6. - ln git$X $@ 2>/dev/null || \
  7. ln -s git$X $@ 2>/dev/null || \
  8. cp git$X $@
  9. @@ -1663,11 +1662,11 @@ endif
  10. { test "$$bindir/" = "$$execdir/" || \
  11. { $(RM) "$$execdir/git$X" && \
  12. test -z "$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
  13. - ln "$$bindir/git$X" "$$execdir/git$X" 2>/dev/null || \
  14. + ln -s "$$bindir/git$X" "$$execdir/git$X" 2>/dev/null || \
  15. cp "$$bindir/git$X" "$$execdir/git$X"; } ; } && \
  16. { for p in $(BUILT_INS); do \
  17. $(RM) "$$execdir/$$p" && \
  18. - ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
  19. + ln -s "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
  20. ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \
  21. cp "$$execdir/git$X" "$$execdir/$$p" || exit; \
  22. done; } && \