summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorMichal Rokos <michal.rokos@nextsoft.cz>2006-07-08 15:32:04 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-08 18:35:20 (GMT)
commitd9bffc08fd2cec626e3a390fa4cc47587a8c7f9e (patch)
tree3ba87a20327aedec6fc29fd5db678d97e68c118f /git-rebase.sh
parent6e959ab05a0a626f6805581a04dfc4e220054c02 (diff)
downloadgit-d9bffc08fd2cec626e3a390fa4cc47587a8c7f9e.zip
git-d9bffc08fd2cec626e3a390fa4cc47587a8c7f9e.tar.gz
git-d9bffc08fd2cec626e3a390fa4cc47587a8c7f9e.tar.bz2
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 'git-rebase.sh')
-rwxr-xr-xgit-rebase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh
index 3945e06..1b9e986 100755
--- a/git-rebase.sh
+++ b/git-rebase.sh
@@ -311,7 +311,7 @@ echo "$prev_head" > "$dotest/prev_head"
msgnum=0
for cmt in `git-rev-list --no-merges "$upstream"..ORIG_HEAD \
- | perl -e 'print reverse <>'`
+ | @@PERL@@ -e 'print reverse <>'`
do
msgnum=$(($msgnum + 1))
echo "$cmt" > "$dotest/cmt.$msgnum"