summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-09-25 08:42:16 +0200
committerJunio C Hamano <gitster@pobox.com>2007-09-25 00:30:16 -0700
commite883932f7dc83ea69a990cba656464d5315f3300 (patch)
treedfd18ee81cae0d0b090961521570d6fb6febaeb3 /Makefile
parent85d81a757e495fe74d8a403f813d3748e832c112 (diff)
downloadgit-e883932f7dc83ea69a990cba656464d5315f3300.tar.gz
unexpected Make output (e.g. from --debug) causes build failure
Without this, the extra output produced e.g., by "make --debug" would go into $INSTLIBDIR and then cause the sed command to fail. Signed-off-by: Jim Meyering <jim@meyering.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dace2112f9..42ba1d0fa7 100644
--- a/Makefile
+++ b/Makefile
@@ -783,7 +783,7 @@ perl/perl.mak: GIT-CFLAGS
$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
$(QUIET_GEN)$(RM) $@ $@+ && \
- INSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \
+ INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \
sed -e '1{' \
-e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
-e ' h' \