aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-13 16:43:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-13 16:43:07 +0000
commit752239ae4019dfbdb22d4d7cacaf395ca807184b (patch)
treeff0a7fc1bef43fb844f081852db1f228bc25d424 /scripts
parent31ff2e6fee0ec077a0b644a55d32f5c67544a80f (diff)
downloadupstream-752239ae4019dfbdb22d4d7cacaf395ca807184b.tar.gz
upstream-752239ae4019dfbdb22d4d7cacaf395ca807184b.tar.bz2
upstream-752239ae4019dfbdb22d4d7cacaf395ca807184b.zip
scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39045 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index f17500f3c1..d6a55b634c 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -152,8 +152,8 @@ foreach my $mirror (@ARGV) {
push @mirrors, "http://downloads.sourceforge.net/$1";
}
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
- push @mirrors, "http://ftp.gnu.org/pub/gnu/$1";
push @mirrors, "http://ftpmirror.gnu.org/$1";
+ push @mirrors, "http://ftp.gnu.org/pub/gnu/$1";
push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$1";
push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$1";
push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$1";