summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-10-22 22:01:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-22 22:01:22 (GMT)
commit380ba9907737fea75c9e6bbce9df04c556fbf882 (patch)
tree6282668a80c7a4fdd61e5d8721350f2973899f6d /Makefile
parent69986e19ffcfb9af674ae5180689ab7bbf92ed28 (diff)
parent907e6379d0af4c5412b73dd2f3799ecc634cf059 (diff)
downloadgit-380ba9907737fea75c9e6bbce9df04c556fbf882.zip
git-380ba9907737fea75c9e6bbce9df04c556fbf882.tar.gz
git-380ba9907737fea75c9e6bbce9df04c556fbf882.tar.bz2
Merge branch 'js/no-builtins-on-disk-option' into maint
Brown-paper-bag fix. * js/no-builtins-on-disk-option: SKIP_DASHED_BUILT_INS: do not skip the bin/ programs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 95571ee..1fb0ec1 100644
--- a/Makefile
+++ b/Makefile
@@ -2981,15 +2981,12 @@ endif
} && \
for p in $(filter $(install_bindir_programs),$(BUILT_INS)); do \
$(RM) "$$bindir/$$p" && \
- if test -z "$(SKIP_DASHED_BUILT_INS)"; \
- then \
- test -n "$(INSTALL_SYMLINKS)" && \
- ln -s "git$X" "$$bindir/$$p" || \
- { test -z "$(NO_INSTALL_HARDLINKS)" && \
- ln "$$bindir/git$X" "$$bindir/$$p" 2>/dev/null || \
- ln -s "git$X" "$$bindir/$$p" 2>/dev/null || \
- cp "$$bindir/git$X" "$$bindir/$$p" || exit; }; \
- fi \
+ test -n "$(INSTALL_SYMLINKS)" && \
+ ln -s "git$X" "$$bindir/$$p" || \
+ { test -z "$(NO_INSTALL_HARDLINKS)" && \
+ ln "$$bindir/git$X" "$$bindir/$$p" 2>/dev/null || \
+ ln -s "git$X" "$$bindir/$$p" 2>/dev/null || \
+ cp "$$bindir/git$X" "$$bindir/$$p" || exit; }; \
done && \
for p in $(BUILT_INS); do \
$(RM) "$$execdir/$$p" && \