mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:35:55 +02:00
remove the dummy profile that was created on targets that have subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9383 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
09ce975153
commit
b900f0c936
@ -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