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 f2b064b346bf59eab2365e2567b10e005298a24b..2ed852a231a938fde07dbd024e47b36066ed48b3 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";