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 <asedeno@mit.edu> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Alejandro R. Sedeño committed Jun 25, 2018 at 15:13 UTC 6600054e9b047e47a6dca0dc07076194b46e2720
1 file changed +1 -1
Makefile
+1 -1
@@ -2086,7 +2086,7 @@ $(SCRIPT_PERL_GEN): % : %.perl GIT-PERL-DEFINES GIT-PERL-HEADER GIT-VERSION-FILE
2086 $(QUIET_GEN)$(RM) $@ $@+ && \
2087 sed -e '1{' \
2088 -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
2089 - -e ' rGIT-PERL-HEADER' \
2089 + -e ' r GIT-PERL-HEADER' \
2090 -e ' G' \
2091 -e '}' \
2092 -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \