@matheusbsbs / matheus-bagliano / commits / e883932f7d
Fork 0

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>

Jim Meyering committed Sep 25, 2007 at 08:42 UTC e883932f7dc83ea69a990cba656464d5315f3300
1 file changed +1 -1
Makefile
+1 -1
@@ -783,7 +783,7 @@ perl/perl.mak: GIT-CFLAGS
783
784 $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
785 $(QUIET_GEN)$(RM) $@ $@+ && \
786 - INSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \
786 + INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \
787 sed -e '1{' \
788 -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
789 -e ' h' \