]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Makefile
Make use of stat.ctime configurable
[thirdparty/git.git] / Makefile
index 7e30b30775786a438cd128b2fff74913ca2a2a9f..52c67c1a472455dcce5c19a21bbfd0520ff7dd26 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1362,7 +1362,10 @@ endif
                cp "$$bindir/git$X" "$$execdir/git$X"; \
        fi && \
        { $(foreach p,$(BUILT_INS), $(RM) "$$execdir/$p" && ln "$$execdir/git$X" "$$execdir/$p" ;) } && \
-       $(RM) "$$execdir/git$X" && \
+       if test "z$$bindir" != "z$$execdir"; \
+       then \
+               $(RM) "$$execdir/git$X"; \
+       fi && \
        ./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X"
 
 install-doc: