summaryrefslogtreecommitdiff
path: root/utils/cpan.PL
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cpan.PL')
-rw-r--r--utils/cpan.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cpan.PL b/utils/cpan.PL
index 4752843fc5..c7c26685db 100644
--- a/utils/cpan.PL
+++ b/utils/cpan.PL
@@ -33,7 +33,7 @@ $Config{startperl}
use File::Spec;
-my $cpan = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "ext", "CPAN", "scripts"), "cpan");
+my $cpan = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, qw(cpan CPAN scripts)), "cpan");
if (open(CPAN, $cpan)) {
print OUT <CPAN>;