Change 34526 by [EMAIL PROTECTED] on 2008/10/20 14:03:42

        As well as @INC, also convert $^X to an absolute path in MBTest.

Affected files ...

... //depot/perl/lib/Module/Build/t/lib/MBTest.pm#7 edit

Differences ...

==== //depot/perl/lib/Module/Build/t/lib/MBTest.pm#7 (text) ====
Index: perl/lib/Module/Build/t/lib/MBTest.pm
--- perl/lib/Module/Build/t/lib/MBTest.pm#6~34446~      2008-09-30 
04:25:01.000000000 -0700
+++ perl/lib/Module/Build/t/lib/MBTest.pm       2008-10-20 07:03:42.000000000 
-0700
@@ -16,9 +16,10 @@
   unless ($ENV{PERL_CORE}) {
     push @INC, $t_lib; # Let user's installed version override
   } else {
-    # We change directories, so expand @INC to absolute paths
+    # We change directories, so expand @INC and $^X to absolute paths
     # Also add .
     @INC = (map(File::Spec->rel2abs($_), @INC), ".");
+    $^X = File::Spec->rel2abs($^X);
 
     # we are in 't', go up a level so we don't create t/t/_tmp
     chdir '..' or die "Couldn't chdir to ..";
End of Patch.

Reply via email to