ignore empty lines in scripts/localmirrors
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jul 2011 19:33:24 +0000 (19:33 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jul 2011 19:33:24 +0000 (19:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;
        };
This page took 0.024363 seconds and 4 git commands to generate.