aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/download.pl
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-03 19:33:24 +0000
committerJohn Crispin <john@openwrt.org>2011-07-03 19:33:24 +0000
commit4d8b9fafcb1eab4571a1c82336ca89f8f001bc58 (patch)
tree77c954e8d3f665cba299f37460e1c2c5d705055a /scripts/download.pl
parentcd8166f3fd1c4acbce9905bc8d2ee5b5392f1803 (diff)
downloadupstream-4d8b9fafcb1eab4571a1c82336ca89f8f001bc58.tar.gz
upstream-4d8b9fafcb1eab4571a1c82336ca89f8f001bc58.tar.bz2
upstream-4d8b9fafcb1eab4571a1c82336ca89f8f001bc58.zip
ignore empty lines in scripts/localmirrors
SVN-Revision: 27416
Diffstat (limited to 'scripts/download.pl')
-rwxr-xr-xscripts/download.pl2
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;
};