diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-05-17 12:10:14 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-05-17 12:10:14 +0000 |
commit | 10933be5b2abdb147e3178c33da9bc6edc90eaee (patch) | |
tree | fd1ca41e3d98768244932276ba5856e5a4227a85 /lib/Getopt/Long/t/gol-linkage.t | |
parent | 81c76e97748fab77d4ac4444a0f1a1341b777793 (diff) | |
download | perl-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.t | 6 |
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; |