This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make core-cpan-diff work with a minicpan
authorSteffen Mueller <smueller@cpan.org>
Thu, 20 Oct 2011 06:09:18 +0000 (08:09 +0200)
committerSteffen Mueller <smueller@cpan.org>
Thu, 20 Oct 2011 06:09:18 +0000 (08:09 +0200)
It was trying to download a test file that doesn't exist in minicpans.

Porting/core-cpan-diff

index 8cabf2c..3e9c6a3 100644 (file)
@@ -158,7 +158,7 @@ sub run {
     }
 
     $mirror_url .= "/" unless substr( $mirror_url, -1 ) eq "/";
-    my $test_file = "modules/07mirror.yml";
+    my $test_file = "modules/03modlist.data.gz";
     my_getstore(
         cpan_url( $mirror_url, $test_file ),
         catfile( $cache_dir, $test_file )