summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b5d2d8)
raw | patch | inline | side by side (parent: 2b5d2d8)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 26 Jul 2006 14:32:51 +0000 (16:32 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 26 Jul 2006 19:24:19 +0000 (12:24 -0700) |
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>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 3e085dfa6fbabf1bcf758b795f32ea50a40880c2..691e40b7b2786b726250e06fed4e29135c461cee 100644 (file)
--- a/Makefile
+++ b/Makefile
-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 $@+ $@