diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2009-02-23 12:37:16 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-02-24 10:05:40 +0100 |
commit | b925ea3bf397b0f1251c08d6e6991be69033baef (patch) | |
tree | c29a1753be5a79ecb4b9ebae5d314ac1e4c2fd37 /installperl | |
parent | c6cab44f0319b8b2283aefda7c82cb4f2e783aea (diff) | |
download | perl-b925ea3bf397b0f1251c08d6e6991be69033baef.tar.gz |
Fix to installing non-xs ext's in priv lib
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); |