projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts/download.pl: Use CDN for kernel downloads
[openwrt/openwrt.git]
/
scripts
/
download.pl
diff --git
a/scripts/download.pl
b/scripts/download.pl
index 548eb7a14f2c1442705e8dd71a3db560aa67ffb3..c31d9bd83fa882b19f506ab08e49c3b6d5c8a356 100755
(executable)
--- a/
scripts/download.pl
+++ b/
scripts/download.pl
@@
-207,8
+207,8
@@
foreach my $mirror (@ARGV) {
push @extra, "$extra[0]/longterm/v$1";
}
foreach my $dir (@extra) {
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";
}
} elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";