summaryrefslogtreecommitdiff
path: root/lib/Getopt/Long/t/gol-linkage.t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-17 12:10:14 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-17 12:10:14 +0000
commit10933be5b2abdb147e3178c33da9bc6edc90eaee (patch)
treefd1ca41e3d98768244932276ba5856e5a4227a85 /lib/Getopt/Long/t/gol-linkage.t
parent81c76e97748fab77d4ac4444a0f1a1341b777793 (diff)
downloadperl-10933be5b2abdb147e3178c33da9bc6edc90eaee.tar.gz
Upgrade to Getopt::Long 2.32_05
p4raw-id: //depot/perl@19541
Diffstat (limited to 'lib/Getopt/Long/t/gol-linkage.t')
-rw-r--r--lib/Getopt/Long/t/gol-linkage.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Getopt/Long/t/gol-linkage.t b/lib/Getopt/Long/t/gol-linkage.t
index 3bd81a3552..a3047cfc19 100644
--- a/lib/Getopt/Long/t/gol-linkage.t
+++ b/lib/Getopt/Long/t/gol-linkage.t
@@ -1,8 +1,10 @@
#!./perl -w
BEGIN {
- chdir('t') if -d 't';
- @INC = '../lib';
+ if ($ENV{PERL_CORE}) {
+ @INC = '../lib';
+ chdir 't';
+ }
}
use Getopt::Long;