diff options
author | Alejandro R. Sedeño <asedeno@mit.edu> | 2018-06-25 15:13:25 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-26 11:46:01 -0700 |
commit | 6600054e9b047e47a6dca0dc07076194b46e2720 (patch) | |
tree | c5ca0184a3c3f896d3a194f484abe2189f283bc7 | |
parent | Makefile: quote $INSTLIBDIR when passing it to sed (diff) | |
download | tgif-6600054e9b047e47a6dca0dc07076194b46e2720.tar.xz |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' \ |