diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-19 14:49:37 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-19 14:49:37 +0000 |
commit | 582bf10a23d83ab7f7912b7434ac27c2728bad35 (patch) | |
tree | 4d64db2ca932fd703ee02d47e6de35166db70c54 | |
parent | 7b8ec533fbbf961afe3ffcf21e37d348e8d6d14e (diff) | |
download | perl-582bf10a23d83ab7f7912b7434ac27c2728bad35.tar.gz |
This change chunk doesn't work well with blead.
p4raw-id: //depot/perl@19822
-rw-r--r-- | lib/ExtUtils/t/Command.t | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ExtUtils/t/Command.t b/lib/ExtUtils/t/Command.t index 4e54189b90..7f1a97c726 100644 --- a/lib/ExtUtils/t/Command.t +++ b/lib/ExtUtils/t/Command.t @@ -31,14 +31,11 @@ BEGIN { } { - # get a file in the MM test directory, replace last char with wildcard + # get a file in the current directory, replace last char with wildcard my $file; { local *DIR; - my $mmtestdir = $ENV{PERL_CORE} - ? File::Spec->catdir(File::Spec->updir, 'lib', 'ExtUtils', 't') - : File::Spec->curdir; - opendir(DIR, $mmtestdir); + opendir(DIR, File::Spec->curdir()); while ($file = readdir(DIR)) { $file =~ s/\.\z// if $^O eq 'VMS'; last if $file =~ /^\w/; |