aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@smyrno.hos.anvin.org>2005-09-30 11:02:26 -0700
committerH. Peter Anvin <hpa@smyrno.hos.anvin.org>2005-09-30 11:02:26 -0700
commit039c6f162a63e9d91f360e2e6138e21a4015c543 (patch)
tree94d6d7bf46a4fc75a9044a605cd28d31f30b8674 /Makefile
parent9220282a9c6fae98d326bd10e4f427f1692b71ed (diff)
downloadgit-039c6f162a63e9d91f360e2e6138e21a4015c543.tar.gz
git-039c6f162a63e9d91f360e2e6138e21a4015c543.tar.xz
Better handling of exec extension in the git wrapper script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5b8a51af..38330c2e9 100644
--- a/Makefile
+++ b/Makefile
@@ -273,7 +273,8 @@ all:
git: git.sh Makefile
rm -f $@+ $@
sed -e '1s|#!.*/sh|#!$(SHELL_PATH)|' \
- -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' <$@.sh >$@+
+ -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
+ -e 's/@@X@@/$(X)/g' <$@.sh >$@+
chmod +x $@+
mv $@+ $@