busybox 1.19.4 update patch
[openwrt.git] / scripts / download.pl
index 08949d6..042b1cc 100755 (executable)
@@ -24,7 +24,7 @@ sub localmirrors {
        open LM, "$scriptdir/localmirrors" and do {
            while (<LM>) {
                        chomp $_;
        open LM, "$scriptdir/localmirrors" and do {
            while (<LM>) {
                        chomp $_;
-                       push @mlist, $_;
+                       push @mlist, $_ if $_;
                }
                close LM;
        };
                }
                close LM;
        };
@@ -142,8 +142,6 @@ foreach my $mirror (@ARGV) {
                        push @extra, "$extra[0]/longterm/v$1";
                }               
                foreach my $dir (@extra) {
                        push @extra, "$extra[0]/longterm/v$1";
                }               
                foreach my $dir (@extra) {
-                       push @mirrors, "ftp://ftp.geo.kernel.org/pub/$dir";
-                       push @mirrors, "http://ftp.geo.kernel.org/pub/$dir";
                        push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir";
                        push @mirrors, "http://ftp.all.kernel.org/pub/$dir";
                        push @mirrors, "ftp://ftp.de.kernel.org/pub/$dir";
                        push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir";
                        push @mirrors, "http://ftp.all.kernel.org/pub/$dir";
                        push @mirrors, "ftp://ftp.de.kernel.org/pub/$dir";
This page took 0.026759 seconds and 4 git commands to generate.