Fetch CPAN modules from the metacpan mirror instead of s.c.o
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Thu, 27 Jul 2017 09:58:42 +0000 (10:58 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Thu, 27 Jul 2017 09:58:42 +0000 (10:58 +0100)
Porting/sync-with-cpan

index e6cfd8f..0176e18 100755 (executable)
@@ -334,7 +334,7 @@ else {
     die "The latest version of $module is $new_version, but blead already has it\n"
         if $new_version eq $old_version;
 
-    my $url = "http://search.cpan.org/CPAN/authors/id/$new_path";
+    my $url = "https://cpan.metacpan.org/authors/id/$new_path";
     say "Fetching $url";
     #
     # Fetch the new distro