mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:34:04 +02:00
ignore empty lines in scripts/localmirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e6839c59a8
commit
8ec391bb0b
@ -24,7 +24,7 @@ sub localmirrors {
|
|||||||
open LM, "$scriptdir/localmirrors" and do {
|
open LM, "$scriptdir/localmirrors" and do {
|
||||||
while (<LM>) {
|
while (<LM>) {
|
||||||
chomp $_;
|
chomp $_;
|
||||||
push @mlist, $_;
|
push @mlist, $_ if $_;
|
||||||
}
|
}
|
||||||
close LM;
|
close LM;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user