projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15baf0c
)
As well as @INC, also convert $^X to an absolute path in MBTest.
author
Nicholas Clark
<nick@ccl4.org>
Mon, 20 Oct 2008 14:03:42 +0000
(14:03 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Mon, 20 Oct 2008 14:03:42 +0000
(14:03 +0000)
p4raw-id: //depot/perl@34526
lib/Module/Build/t/lib/MBTest.pm
patch
|
blob
|
history
diff --git
a/lib/Module/Build/t/lib/MBTest.pm
b/lib/Module/Build/t/lib/MBTest.pm
index
14b8b9e
..
34f262a
100644
(file)
--- a/
lib/Module/Build/t/lib/MBTest.pm
+++ b/
lib/Module/Build/t/lib/MBTest.pm
@@
-16,9
+16,10
@@
BEGIN {
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 ..";