scripts/download.pl: use HTTP instead of FTP for the default GNU site
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Jul 2013 12:52:12 +0000 (12:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Jul 2013 12:52:12 +0000 (12:52 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37213

scripts/download.pl

index f2b064b..2ed852a 100755 (executable)
@@ -152,7 +152,7 @@ foreach my $mirror (@ARGV) {
                        push @mirrors, "http://downloads.sourceforge.net/$1";
                }
        } elsif ($mirror =~ /^\@GNU\/(.+)$/) {
-               push @mirrors, "ftp://ftp.gnu.org/gnu/$1";
+               push @mirrors, "http://ftp.gnu.org/pub/gnu/$1";
                push @mirrors, "http://ftpmirror.gnu.org/$1";
                push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$1";
                push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$1";