Deal correctly with spaces in pathnames
Tomas Doran [Wed, 3 Mar 2010 02:22:13 +0000 (02:22 +0000)]
t/12-fail.t

index a5387d1..9d7a38b 100644 (file)
@@ -5,7 +5,7 @@ use Test::More qw(no_plan);
 use File::Temp qw( tempdir tempfile );
 
 my $perl  = $^X || 'perl';
-my $inc = join(' -I ', @INC) || '';
+my $inc = join(' -I ', map { qq{"$_"} } @INC) || '';
 $inc = "-I $inc" if $inc;
 
 {