summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl3
1 files changed, 2 insertions, 1 deletions
diff --git a/installperl b/installperl
index 8d5573db44..a3657efa63 100755
--- a/installperl
+++ b/installperl
@@ -158,7 +158,8 @@ my @nonxs = grep(!/^Errno$/, split(' ', $Config{'nonxs_ext'}));
find(sub {
if (($File::Find::name =~ m{^ext\b(.*)/([^/]+)\.pm$}) &&
- ! grep { $File::Find::name =~ /^ext\/$_/ } @nonxs)
+ ! grep { (my $dir = $_) =~ s/\//-/g;
+ $File::Find::name =~ /^ext\/$dir/ } @nonxs)
{
my($path, $modname) = ($1,$2);