mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
remove the dummy profile that was created on targets that have subtargets
SVN-Revision: 9383
This commit is contained in:
parent
f30ff914a6
commit
aef9b313b1
@ -72,6 +72,7 @@ sub parse_target_metadata() {
|
|||||||
}
|
}
|
||||||
close FILE;
|
close FILE;
|
||||||
foreach my $target (@target) {
|
foreach my $target (@target) {
|
||||||
|
next if @{$target->{subtargets}} > 0;
|
||||||
@{$target->{profiles}} > 0 or $target->{profiles} = [
|
@{$target->{profiles}} > 0 or $target->{profiles} = [
|
||||||
{
|
{
|
||||||
id => 'Default',
|
id => 'Default',
|
||||||
|
Loading…
Reference in New Issue
Block a user