scripts/download.pl: Use CDN for kernel downloads
[openwrt/openwrt.git] / scripts / download.pl
index 548eb7a14f2c1442705e8dd71a3db560aa67ffb3..c31d9bd83fa882b19f506ab08e49c3b6d5c8a356 100755 (executable)
@@ -207,8 +207,8 @@ foreach my $mirror (@ARGV) {
                        push @extra, "$extra[0]/longterm/v$1";
                }               
                foreach my $dir (@extra) {
-                       push @mirrors, "https://kernel.org/pub/$dir";
-                       push @mirrors, "ftp://kernel.org/pub/$dir";
+                       push @mirrors, "https://cdn.kernel.org/pub/$dir";
+                       push @mirrors, "https://www.kernel.org/pub/$dir";
                }
     } elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
                push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";