Skip to content

Commit 6600054

Browse files
asedenogitster
authored andcommitted
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 <[email protected]> Reviewed-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 64f982b commit 6600054

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
@@ -2086,7 +2086,7 @@ $(SCRIPT_PERL_GEN): % : %.perl GIT-PERL-DEFINES GIT-PERL-HEADER GIT-VERSION-FILE
20862086
$(QUIET_GEN)$(RM) $@ $@+ && \
20872087
sed -e '1{' \
20882088
-e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
2089-
-e ' rGIT-PERL-HEADER' \
2089+
-e ' r GIT-PERL-HEADER' \
20902090
-e ' G' \
20912091
-e '}' \
20922092
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \

0 commit comments

Comments
 (0)