diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-03 19:33:24 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-03 19:33:24 +0000 |
commit | 8ec391bb0bcc35d6b56f45b93466b3c440fd4840 (patch) | |
tree | 7f0d44d08070a10bf06e737dc076a87230fa827c | |
parent | e6839c59a8edf27ed7d4a80092c4201cc8208878 (diff) |
ignore empty lines in scripts/localmirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/download.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |