aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-07-03 19:33:24 +0000
committerJohn Crispin <blogic@openwrt.org>2011-07-03 19:33:24 +0000
commit2e3b0f7f91b71a656b3c4eaf2452e920b3a173a1 (patch)
tree7f0d44d08070a10bf06e737dc076a87230fa827c /scripts
parent273222c78a7322e15cd25fd8bcda824da387c6a7 (diff)
downloadmaster-187ad058-2e3b0f7f91b71a656b3c4eaf2452e920b3a173a1.tar.gz
master-187ad058-2e3b0f7f91b71a656b3c4eaf2452e920b3a173a1.tar.bz2
master-187ad058-2e3b0f7f91b71a656b3c4eaf2452e920b3a173a1.zip
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 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;
};