diff options
author | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | 2005-09-30 11:02:26 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@smyrno.hos.anvin.org> | 2005-09-30 11:02:26 -0700 |
commit | 039c6f162a63e9d91f360e2e6138e21a4015c543 (patch) | |
tree | 94d6d7bf46a4fc75a9044a605cd28d31f30b8674 /Makefile | |
parent | 9220282a9c6fae98d326bd10e4f427f1692b71ed (diff) | |
download | git-039c6f162a63e9d91f360e2e6138e21a4015c543.tar.gz git-039c6f162a63e9d91f360e2e6138e21a4015c543.tar.xz |
Better handling of exec extension in the git wrapper script
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 $@+ $@ |