diff options
author | Jesse Vincent <jesse@bestpractical.com> | 2009-10-02 17:41:57 -0400 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2009-10-02 17:41:57 -0400 |
commit | 99115150e3b424e330d9007fc4005e056210f907 (patch) | |
tree | 979d29c49cf29666977c366ad867188b60beaa32 /Porting | |
parent | 96054f1230156cd59ef1d361884fb4cd0e8a0447 (diff) | |
download | perl-99115150e3b424e330d9007fc4005e056210f907.tar.gz |
Rather than list all of the CPAN dists in cpan/ not to index, make use of the fact that noindex is path based and just list cpan/
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/makemeta | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/makemeta b/Porting/makemeta index 167209ab6f..7e9eff776e 100644 --- a/Porting/makemeta +++ b/Porting/makemeta @@ -17,7 +17,7 @@ use Maintainers qw(%Modules get_module_files get_module_pat); my @CPAN = grep { $Modules{$_}{CPAN} } keys %Modules; my @files = map { get_module_files($_) } @CPAN; -my @dirs = grep { -d $_ } map { get_module_pat($_) } @CPAN; +my @dirs = ('cpan', grep { -d $_ && $_ !~ /^cpan/ } map { get_module_pat($_) } @CPAN); my %dirs; @dirs{@dirs} = (); |