diff options
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 3 |
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); |