summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Rokos <michal.rokos@nextsoft.cz>2006-07-08 17:32:04 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-08 11:35:20 -0700
commitd9bffc08fd2cec626e3a390fa4cc47587a8c7f9e (patch)
tree3ba87a20327aedec6fc29fd5db678d97e68c118f /Makefile
parent6e959ab05a0a626f6805581a04dfc4e220054c02 (diff)
downloadgit-d9bffc08fd2cec626e3a390fa4cc47587a8c7f9e.tar.gz
Using 'perl' in *.sh
Some GIT's shell script are using bare 'perl' for perl invocation. Use @@PERL@@ symbol and replace it with PERL_PATH_SQ everywhere. Signed-off-by: Michal Rokos <michal.rokos@nextsoft.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5a625b4efa..588d9255d3 100644
--- a/Makefile
+++ b/Makefile
@@ -514,6 +514,7 @@ common-cmds.h: Documentation/git-*.txt
$(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
rm -f $@ $@+
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
+ -e 's|@@PERL@@|$(PERL_PATH_SQ)|g' \
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
-e 's/@@NO_CURL@@/$(NO_CURL)/g' \
-e 's/@@NO_PYTHON@@/$(NO_PYTHON)/g' \