ignore empty lines in scripts/localmirrors
[openwrt/svn-archive/archive.git] / scripts / download.pl
index 08949d698aa49dd375e4dfbc14fb831e27dde61e..7d2c41e0d046605147709f39cbfc0095cf658b10 100755 (executable)
@@ -24,7 +24,7 @@ sub localmirrors {
        open LM, "$scriptdir/localmirrors" and do {
            while (<LM>) {
                        chomp $_;
-                       push @mlist, $_;
+                       push @mlist, $_ if $_;
                }
                close LM;
        };