summaryrefslogtreecommitdiff
path: root/git-clone.sh
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 /git-clone.sh
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 'git-clone.sh')
-rwxr-xr-xgit-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh
index 6a14b25911..0368803883 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -324,7 +324,7 @@ test -d "$GIT_DIR/refs/reference-tmp" && rm -fr "$GIT_DIR/refs/reference-tmp"
if test -f "$GIT_DIR/CLONE_HEAD"
then
# Read git-fetch-pack -k output and store the remote branches.
- perl -e "$copy_refs" "$GIT_DIR" "$use_separate_remote" "$origin"
+ @@PERL@@ -e "$copy_refs" "$GIT_DIR" "$use_separate_remote" "$origin"
fi
cd "$D" || exit