summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2006-07-26 16:32:51 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-26 12:24:19 -0700
commit941ba215fb9fc9e08705e86ea93e0f6f74d0faaf (patch)
tree35a21a5eec58ca20ba2733fd7638ca6c7d2411e4 /Makefile
parentgit-instaweb: some Apache have mod_cgi builtin (diff)
downloadtgif-941ba215fb9fc9e08705e86ea93e0f6f74d0faaf.tar.xz
git-instaweb: respect bindir from Makefile
Not everybody installs git to /usr/bin/git. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e085dfa6f..691e40b7b2 100644
--- a/Makefile
+++ b/Makefile
@@ -575,7 +575,7 @@ git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/gitweb.css
-e '/@@GITWEB_CGI@@/d' \
-e '/@@GITWEB_CSS@@/r gitweb/gitweb.css' \
-e '/@@GITWEB_CSS@@/d' \
- $@.sh > $@+
+ $@.sh | sed "s|/usr/bin/git|$(bindir)/git|" > $@+
chmod +x $@+
mv $@+ $@