ignore empty lines in scripts/localmirrors
authorJohn Crispin <john@openwrt.org>
Sun, 3 Jul 2011 19:33:24 +0000 (19:33 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 3 Jul 2011 19:33:24 +0000 (19:33 +0000)
SVN-Revision: 27416

scripts/download.pl

index 08949d6..7d2c41e 100755 (executable)
@@ -24,7 +24,7 @@ sub localmirrors {
        open LM, "$scriptdir/localmirrors" and do {
            while (<LM>) {
                        chomp $_;
-                       push @mlist, $_;
+                       push @mlist, $_ if $_;
                }
                close LM;
        };