summaryrefslogtreecommitdiff
path: root/t/t8006-blame-textconv.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-12 16:49:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-06-25 04:56:13 (GMT)
commit7096b6486e40f509ee53448596b3cdb86360ad3e (patch)
tree3ffaaa525f00e14379e949f97f73e7ce6a75aa1f /t/t8006-blame-textconv.sh
parent770bf6c5e2830add4b59d3dbf9929e62ed4d6fb7 (diff)
downloadgit-7096b6486e40f509ee53448596b3cdb86360ad3e.zip
git-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.gz
git-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.bz2
tests: enclose $PERL_PATH in double quotes
Otherwise it will be split at a space after "Program" when it is set to "\\Program Files\perl" or something silly like that. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8006-blame-textconv.sh')
-rwxr-xr-xt/t8006-blame-textconv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t8006-blame-textconv.sh b/t/t8006-blame-textconv.sh
index 06b8f86..bf6caa4 100755
--- a/t/t8006-blame-textconv.sh
+++ b/t/t8006-blame-textconv.sh
@@ -10,7 +10,7 @@ find_blame() {
cat >helper <<'EOF'
#!/bin/sh
grep -q '^bin: ' "$1" || { echo "E: $1 is not \"binary\" file" 1>&2; exit 1; }
-$PERL_PATH -p -e 's/^bin: /converted: /' "$1"
+"$PERL_PATH" -p -e 's/^bin: /converted: /' "$1"
EOF
chmod +x helper