summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-10-24 18:09:14 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-10-24 18:09:14 +0100
commitcb8c84586a7e77e1b9100e6d88a6a9d18041ae96 (patch)
treef6a0ebbe9f044f2eb27b0dc48936103198ca8b60 /make_ext.pl
parent41e70615a0bf7f35048f8163e68f1b9936509b9a (diff)
downloadperl-cb8c84586a7e77e1b9100e6d88a6a9d18041ae96.tar.gz
Move Cwd and List-Util to folders named as per their CPAN distributions
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 55fa5aec87..32684a7522 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -232,6 +232,11 @@ foreach my $spec (@extspec) {
# Try new style ext/Data-Dumper/ first
my $copy = $spec;
$copy =~ tr!/!-!;
+
+ # List/Util.xs lives in Scalar-List-Utils, Cwd.xs lives in PathTools
+ $copy = 'Scalar-List-Utils' if $copy eq 'List-Util';
+ $copy = 'PathTools' if $copy eq 'Cwd';
+
foreach my $dir (@ext_dirs) {
if (-d "$dir/$copy") {
$ext_pathname = "$dir/$copy";