Commit b670bf1d authored by Marc Schumann's avatar Marc Schumann

Test 1 fails if PERLLIB contains paths with whitespace.

parent c69c8a92
......@@ -48,7 +48,7 @@ sub compile_file {
my $libs = '';
if ($ENV{PERL5LIB}) {
$libs = join " ", map { "-I$_" } split /$Config{path_sep}/, $ENV{PERL5LIB};
$libs = join " ", map { "-I\"$_\"" } split /$Config{path_sep}/, $ENV{PERL5LIB};
}
my $perl = qq{"$^X"};
my $output = `$perl $libs -wc$T $file 2>&1`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment