Need to wrap PATH in quotes to avoid chars being interpreted as shell
Notable on windows where it is likely there is a directory with
parantheses in the name.
commit9f5fb0823c464a4223f62d7eba91c7ec70d33bf3
authorNiklas Larsson <niklas@mm.st>
dateWed 1 Apr 2015, 15:33 (12 years ago)
parent53c0fd7
test/runtest.pl+1−1
@@ -13,7 +13,7 @@ sub sandbox_path {
1313 my $sandbox = abs_path("$test_dir/../../.cabal-sandbox/bin");
1414
1515 if ( -d $sandbox ) {
16− return "PATH=$sandbox:$PATH";
16+ return "PATH=\"$sandbox:$PATH\"";
1717 } else {
1818 return "";
1919 }