summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-03 19:33:24 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-03 19:33:24 +0000
commit8ec391bb0bcc35d6b56f45b93466b3c440fd4840 (patch)
tree7f0d44d08070a10bf06e737dc076a87230fa827c /scripts
parente6839c59a8edf27ed7d4a80092c4201cc8208878 (diff)
ignore empty lines in scripts/localmirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 08949d698..7d2c41e0d 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;
};