From e9ec8679a651682a64838f97a2cce87ddc6dbd0e Mon Sep 17 00:00:00 2001 From: Marc Schumann Date: Wed, 15 Feb 2012 18:52:57 +0100 Subject: Test 1 fails if PERLLIB contains paths with whitespace. r=gerv; a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=714074 --- t/001compile.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/001compile.t b/t/001compile.t index 9e63da0b4..97a339b2d 100644 --- a/t/001compile.t +++ b/t/001compile.t @@ -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`; -- cgit v1.2.3-24-g4f1b