diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-12 20:49:59 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-25 08:56:13 +0400 |
commit | 7096b6486e40f509ee53448596b3cdb86360ad3e (patch) | |
tree | 3ffaaa525f00e14379e949f97f73e7ce6a75aa1f /t/t5532-fetch-proxy.sh | |
parent | 770bf6c5e2830add4b59d3dbf9929e62ed4d6fb7 (diff) |
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/t5532-fetch-proxy.sh')
-rwxr-xr-x | t/t5532-fetch-proxy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5532-fetch-proxy.sh b/t/t5532-fetch-proxy.sh index 6ef4378266..5531bd1af4 100755 --- a/t/t5532-fetch-proxy.sh +++ b/t/t5532-fetch-proxy.sh @@ -15,7 +15,7 @@ test_expect_success 'setup remote repo' ' cat >proxy <<'EOF' #!/bin/sh echo >&2 "proxying for $*" -cmd=`$PERL_PATH -e ' +cmd=`"$PERL_PATH" -e ' read(STDIN, $buf, 4); my $n = hex($buf) - 4; read(STDIN, $buf, $n); |