patch-Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- git-1.7.2.1.orig/Makefile 2010-07-28 19:03:43.000000000 +0200
  2. +++ git-1.7.2.1/Makefile 2010-07-30 12:25:52.000000000 +0200
  3. @@ -1594,7 +1594,6 @@ builtin/help.s builtin/help.o: EXTRA_CPP
  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. @@ -1894,7 +1893,6 @@ git-http-push$X: revision.o http.o http-
  10. $(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY)
  11. $(QUIET_LNCP)$(RM) $@ && \
  12. - ln $< $@ 2>/dev/null || \
  13. ln -s $< $@ 2>/dev/null || \
  14. cp $< $@
  15. @@ -2077,18 +2075,16 @@ endif
  16. { test "$$bindir/" = "$$execdir/" || \
  17. { $(RM) "$$execdir/git$X" && \
  18. test -z "$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
  19. - ln "$$bindir/git$X" "$$execdir/git$X" 2>/dev/null || \
  20. + ln -s "$$bindir/git$X" "$$execdir/git$X" 2>/dev/null || \
  21. cp "$$bindir/git$X" "$$execdir/git$X"; } ; } && \
  22. for p in $(BUILT_INS); do \
  23. $(RM) "$$execdir/$$p" && \
  24. - ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
  25. ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \
  26. cp "$$execdir/git$X" "$$execdir/$$p" || exit; \
  27. done && \
  28. remote_curl_aliases="$(REMOTE_CURL_ALIASES)" && \
  29. for p in $$remote_curl_aliases; do \
  30. $(RM) "$$execdir/$$p" && \
  31. - ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
  32. ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
  33. cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \
  34. done && \