|
|
@@ -75,7 +75,10 @@ sub parse_target_metadata() {
|
|
|
}
|
|
|
close FILE;
|
|
|
foreach my $target (@target) {
|
|
|
- next if @{$target->{subtargets}} > 0;
|
|
|
+ if (@{$target->{subtargets}} > 0) {
|
|
|
+ $target->{profiles} = [];
|
|
|
+ next;
|
|
|
+ }
|
|
|
@{$target->{profiles}} > 0 or $target->{profiles} = [
|
|
|
{
|
|
|
id => 'Default',
|