This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
devel/mktodo: Fix location of old perls
authorKarl Williamson <khw@cpan.org>
Tue, 25 Jun 2019 17:41:31 +0000 (11:41 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:31 +0000 (16:39 -0600)
This had an extra layer of directory structure beyond what typical
places old perls are kept.

A future commit allows specifying mutiple directories on the command
line, which gives full generality.

(cherry picked from commit dbe3786586c45ed8ac1fca184a30924630a5dbf0)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/devel/mktodo

index 2eb9ea3..1cec427 100755 (executable)
@@ -35,7 +35,7 @@ my $outdir = 'parts/todo';
 
 my @perls = sort { $b->{version} <=> $a->{version} }
             map { { version => `$_ -e 'printf "%.6f", \$]'`, path => $_ } }
 
 my @perls = sort { $b->{version} <=> $a->{version} }
             map { { version => `$_ -e 'printf "%.6f", \$]'`, path => $_ } }
-            ($opt{blead}, grep !/-RC\d+/, glob "$opt{install}/*/bin/perl5.*");
+            ($opt{blead}, grep !/-RC\d+/, glob "$opt{install}/bin/perl5.*");
 
 if (exists $opt{'blead-version'}) {
   $perls[0]{version} = $opt{'blead-version'};
 
 if (exists $opt{'blead-version'}) {
   $perls[0]{version} = $opt{'blead-version'};