summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0700228)
raw | patch | inline | side by side (parent: 0700228)
author | Eric Wong <normalperson@yhbt.net> | |
Sun, 2 Jul 2006 11:56:16 +0000 (04:56 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Jul 2006 18:04:56 +0000 (11:04 -0700) |
Hint taken from Johannes. I've tested this with sed --posix on
my system with GNU sed and it works fine with and also without
it. Further portability testing/review would be good.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
my system with GNU sed and it works fine with and also without
it. Further portability testing/review would be good.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-instaweb.sh | patch | blob | history |
diff --git a/git-instaweb.sh b/git-instaweb.sh
index 51067d9679938ae59b68499711a8394a450de396..69aef3c20b099edd32aaa76ad8cfceb7e3f8a53a 100755 (executable)
--- a/git-instaweb.sh
+++ b/git-instaweb.sh
}
script='
-s#^\(my\|our\) $projectroot =.*#\1 $projectroot = "'`dirname $fqgitdir`'";#;
-s#\(my\|our\) $gitbin =.*#\1 $gitbin = "'$GIT_EXEC_PATH'";#;
-s#\(my\|our\) $projects_list =.*#\1 $projects_list = $projectroot;#;
+s#^\(my\|our\) $projectroot =.*#\1 $projectroot = "'`dirname $fqgitdir`'";#
+s#\(my\|our\) $gitbin =.*#\1 $gitbin = "'$GIT_EXEC_PATH'";#
+s#\(my\|our\) $projects_list =.*#\1 $projects_list = $projectroot;#
s#\(my\|our\) $git_temp =.*#\1 $git_temp = "'$fqgitdir/gitweb/tmp'";#'
gitweb_cgi () {