aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-01-30 10:54:44 -1000
committerPaul Spooren <mail@aparcar.org>2021-02-05 12:00:24 -1000
commit8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048 (patch)
tree7cb33c9ee69ac7b04f88c1927d12e42305a81358 /scripts
parent450ec48d61254e241ecfaa7d0cf9dec40473469d (diff)
downloadupstream-8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048.tar.gz
upstream-8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048.tar.bz2
upstream-8286f3a3d3a7d65d36ee312c6fd3828d4e4fd048.zip
treewide: unify OpenWrt hosted source via @OPENWRT
Multiple sources are hosted on OpenWrts source server only. The source URLs to point to the server vary based on different epochs in OpenWrts history. Replace all by @OPENWRT which is an "empty" mirror, therefore using the fallback servers sources.cdn.openwrt.org and sources.openwrt.org. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 61af0a0429..e13405033f 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -194,6 +194,8 @@ foreach my $mirror (@ARGV) {
for (1 .. 5) {
push @mirrors, "https://downloads.sourceforge.net/$1";
}
+ } elsif ($mirror =~ /^\@OPENWRT$/) {
+ # use OpenWrt source server directly
} elsif ($mirror =~ /^\@APACHE\/(.+)$/) {
push @mirrors, "https://mirror.netcologne.de/apache.org/$1";
push @mirrors, "https://mirror.aarnet.edu.au/pub/apache/$1";