From: John Crispin Date: Sun, 3 Jul 2011 19:33:24 +0000 (+0000) Subject: ignore empty lines in scripts/localmirrors X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d8b9fafcb1eab4571a1c82336ca89f8f001bc58;p=openwrt%2Fstaging%2Fansuel.git ignore empty lines in scripts/localmirrors SVN-Revision: 27416 --- diff --git a/scripts/download.pl b/scripts/download.pl index 08949d698a..7d2c41e0d0 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -24,7 +24,7 @@ sub localmirrors { open LM, "$scriptdir/localmirrors" and do { while () { chomp $_; - push @mlist, $_; + push @mlist, $_ if $_; } close LM; };