]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Test 1 fails if PERLLIB contains paths with whitespace.
authorMarc Schumann <wurblzap@gmail.com>
Wed, 15 Feb 2012 17:53:56 +0000 (18:53 +0100)
committerMarc Schumann <wurblzap@gmail.com>
Wed, 15 Feb 2012 17:53:56 +0000 (18:53 +0100)
r=gerv; a=LpSolit

https://bugzilla.mozilla.org/show_bug.cgi?id=714074

t/001compile.t

index 9e63da0b489d151975b3c79eea36521ea7fbc446..97a339b2d8b210e7473f797d922e222f4a9b57b0 100644 (file)
@@ -62,7 +62,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`;