From: Johannes Schindelin Date: Wed, 26 Jul 2006 14:32:51 +0000 (+0200) Subject: git-instaweb: respect bindir from Makefile X-Git-Tag: v1.4.2-rc3~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=941ba215fb9fc9e08705e86ea93e0f6f74d0faaf;p=git.git git-instaweb: respect bindir from Makefile Not everybody installs git to /usr/bin/git. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 3e085dfa6..691e40b7b 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 $@+ $@