From 8ec391bb0bcc35d6b56f45b93466b3c440fd4840 Mon Sep 17 00:00:00 2001 From: blogic Date: Sun, 3 Jul 2011 19:33:24 +0000 Subject: ignore empty lines in scripts/localmirrors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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; }; -- cgit v1.2.3