Skip to content

Commit e883932

Browse files
meyeringgitster
authored andcommitted
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>
1 parent 85d81a7 commit e883932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ perl/perl.mak: GIT-CFLAGS
783783

784784
$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
785785
$(QUIET_GEN)$(RM) $@ $@+ && \
786-
INSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \
786+
INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \
787787
sed -e '1{' \
788788
-e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
789789
-e ' h' \

0 commit comments

Comments
 (0)