summaryrefslogtreecommitdiff
path: root/t/t5551-http-fetch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-06-12 09:49:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-24 21:56:13 -0700
commit7096b6486e40f509ee53448596b3cdb86360ad3e (patch)
tree3ffaaa525f00e14379e949f97f73e7ce6a75aa1f /t/t5551-http-fetch.sh
parentt/test-lib.sh: export PERL_PATH for use in scripts (diff)
downloadtgif-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.xz
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/t5551-http-fetch.sh')
-rwxr-xr-xt/t5551-http-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh
index 0667a3b750..fadf2f258e 100755
--- a/t/t5551-http-fetch.sh
+++ b/t/t5551-http-fetch.sh
@@ -130,7 +130,7 @@ test_expect_success EXPENSIVE 'create 50,000 tags in the repo' '
done | git fast-import --export-marks=marks &&
# now assign tags to all the dangling commits we created above
- tag=$($PERL_PATH -e "print \"bla\" x 30") &&
+ tag=$("$PERL_PATH" -e "print \"bla\" x 30") &&
sed -e "s/^:\(.\+\) \(.\+\)$/\2 refs\/tags\/$tag-\1/" <marks >>packed-refs
)
'