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
commit27fe688c5fa84470365356e6d443605cc87cbf30 (patch)
tree156cd092488aa680507f980fc98a193109c10c8e /scripts
parent1eff212ce83608a401a18de31f0799e66a3e9200 (diff)
downloadupstream-27fe688c5fa84470365356e6d443605cc87cbf30.tar.gz
upstream-27fe688c5fa84470365356e6d443605cc87cbf30.tar.bz2
upstream-27fe688c5fa84470365356e6d443605cc87cbf30.zip
scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39045
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";