Browse Source

ignore empty lines in scripts/localmirrors

SVN-Revision: 27416
John Crispin 14 years ago
parent
commit
4d8b9fafcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/download.pl

+ 1 - 1
scripts/download.pl

@@ -24,7 +24,7 @@ sub localmirrors {
 	open LM, "$scriptdir/localmirrors" and do {
 	open LM, "$scriptdir/localmirrors" and do {
 	    while (<LM>) {
 	    while (<LM>) {
 			chomp $_;
 			chomp $_;
-			push @mlist, $_;
+			push @mlist, $_ if $_;
 		}
 		}
 		close LM;
 		close LM;
 	};
 	};