From 4d8b9fafcb1eab4571a1c82336ca89f8f001bc58 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Sun, 3 Jul 2011 19:33:24 +0000
Subject: [PATCH] ignore empty lines in scripts/localmirrors

SVN-Revision: 27416
---
 scripts/download.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 (<LM>) {
 			chomp $_;
-			push @mlist, $_;
+			push @mlist, $_ if $_;
 		}
 		close LM;
 	};
-- 
GitLab