# [PATCH 1/5] git-instaweb: respect bindir from Makefile

1 messages from 2006-07-26 to 2006-07-26. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/4987

## Johannes Schindelin, 2006-07-26 14:32

Subject: [PATCH 1/5] git-instaweb: respect bindir from Makefile
Message-ID: <Pine.LNX.4.63.0607261632420.29667@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0607261632420.29667%40wbgn013.biozentrum.uni-wuerzburg.de

```

Not everybody installs git to /usr/bin/git.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index baed711..f3726d4 100644
--- a/Makefile
+++ b/Makefile
@@ -624,7 +624,7 @@ git-instaweb: git-instaweb.sh gitweb/git
 	    -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 $@+ $@
 
-- 
1.4.2.rc2.g6a4e

```
