Upgrade to PathTools-3.23.
[p5sagit/p5-mst-13.2.git] / lib / if.t
index d17ff51..d09de58 100644 (file)
--- a/lib/if.t
+++ b/lib/if.t
@@ -1,7 +1,7 @@
 #!./perl
 
 BEGIN {
-    chdir 't' and @INC = '../lib' if -f 't/TEST';
+    chdir 't' and @INC = '../lib' if $ENV{PERL_CORE};
 }
 
 my $t = 1;