ignore empty lines in scripts/localmirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
273222c78a
commit
2e3b0f7f91
|
@ -24,7 +24,7 @@ sub localmirrors {
|
|||
open LM, "$scriptdir/localmirrors" and do {
|
||||
while (<LM>) {
|
||||
chomp $_;
|
||||
push @mlist, $_;
|
||||
push @mlist, $_ if $_;
|
||||
}
|
||||
close LM;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue