aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-07-15 12:06:11 -0700
committerJunio C Hamano <gitster@pobox.com>2010-07-15 12:06:11 -0700
commitaa57328d60f5d5a5f74d1d336caf06b6bdf4fd03 (patch)
treeb13ef371efc467c53ae42e081e911518575bae02 /Makefile
parentc255a70b5ef4e70070b6076c4308da9d163d56a9 (diff)
parent49a43f5468b5dbf41236a59a663e593e5432db15 (diff)
downloadgit-aa57328d60f5d5a5f74d1d336caf06b6bdf4fd03.tar.gz
git-aa57328d60f5d5a5f74d1d336caf06b6bdf4fd03.tar.xz
Merge branch 'bc/maint-makefile-fixes'
* bc/maint-makefile-fixes: Makefile: work around ksh's failure to handle missing list argument to for loop Makefile: remove some unnecessary curly braces
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9aca8a16d..bc3c57058 100644
--- a/Makefile
+++ b/Makefile
@@ -2079,19 +2079,19 @@ endif
test -z "$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
ln "$$bindir/git$X" "$$execdir/git$X" 2>/dev/null || \
cp "$$bindir/git$X" "$$execdir/git$X"; } ; } && \
- { for p in $(BUILT_INS); do \
+ for p in $(BUILT_INS); do \
$(RM) "$$execdir/$$p" && \
ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \
ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \
cp "$$execdir/git$X" "$$execdir/$$p" || exit; \
- done; } && \
- { test x"$(REMOTE_CURL_ALIASES)" = x || \
- { for p in $(REMOTE_CURL_ALIASES); do \
+ done && \
+ remote_curl_aliases="$(REMOTE_CURL_ALIASES)" && \
+ for p in $$remote_curl_aliases; do \
$(RM) "$$execdir/$$p" && \
ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \
- done; } ; } && \
+ done && \
./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X"
install-gitweb: