From: Alejandro R. Sedeño Date: Mon, 25 Jun 2018 19:13:25 +0000 (-0400) Subject: Makefile: tweak sed invocation X-Git-Tag: v2.19.0-rc0~153^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6600054e9b047e47a6dca0dc07076194b46e2720;p=thirdparty%2Fgit.git Makefile: tweak sed invocation With GNU sed, the r command doesn't care if a space separates it and the filename it reads from. With SunOS sed, the space is required. Signed-off-by: Alejandro R. Sedeño Reviewed-by: Eric Sunshine Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 2ba24035f5..50138e85eb 100644 --- a/Makefile +++ b/Makefile @@ -2086,7 +2086,7 @@ $(SCRIPT_PERL_GEN): % : %.perl GIT-PERL-DEFINES GIT-PERL-HEADER GIT-VERSION-FILE $(QUIET_GEN)$(RM) $@ $@+ && \ sed -e '1{' \ -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \ - -e ' rGIT-PERL-HEADER' \ + -e ' r GIT-PERL-HEADER' \ -e ' G' \ -e '}' \ -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \