summaryrefslogtreecommitdiff
path: root/scripts/download.pl
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-13 16:43:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-13 16:43:07 +0000
commit15c6ac4ec2d42bb049bc87b392f181cf0c278cd8 (patch)
treeff0a7fc1bef43fb844f081852db1f228bc25d424 /scripts/download.pl
parent3d9c0a8198ae7b9119ef04e24465653a2f402560 (diff)
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/download.pl')
-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";