Code

sed -e '/RE/r rfile/' needs space in 'r rfile'
authorMichal Rokos <michal.rokos@nextsoft.cz>
Sat, 8 Jul 2006 15:27:10 +0000 (17:27 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 8 Jul 2006 18:28:32 +0000 (11:28 -0700)
Some implementations of sed (like HP-UX one) mandate a space between 'r'
and 'rfile'.

Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 202f26171ac3319ac0a4d35f7bd6125cfac82a4b..5a625b4efa1c36a85a1928d049c892f9af72bf8e 100644 (file)
--- 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 $@+