From: Michal Rokos Date: Sat, 8 Jul 2006 15:27:10 +0000 (+0200) Subject: sed -e '/RE/r rfile/' needs space in 'r rfile' X-Git-Tag: v1.4.2-rc1~69 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6e959ab05a0a626f6805581a04dfc4e220054c02;p=git.git sed -e '/RE/r rfile/' needs space in 'r rfile' Some implementations of sed (like HP-UX one) mandate a space between 'r' and 'rfile'. Signed-off-by: Michal Rokos Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 202f26171..5a625b4ef 100644 --- a/Makefile +++ b/Makefile @@ -552,9 +552,9 @@ git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/gitweb.css -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \ -e 's/@@NO_CURL@@/$(NO_CURL)/g' \ -e 's/@@NO_PYTHON@@/$(NO_PYTHON)/g' \ - -e '/@@GITWEB_CGI@@/rgitweb/gitweb.cgi' \ + -e '/@@GITWEB_CGI@@/r gitweb/gitweb.cgi' \ -e '/@@GITWEB_CGI@@/d' \ - -e '/@@GITWEB_CSS@@/rgitweb/gitweb.css' \ + -e '/@@GITWEB_CSS@@/r gitweb/gitweb.css' \ -e '/@@GITWEB_CSS@@/d' \ $@.sh > $@+ chmod +x $@+