remove the dummy profile that was created on targets that have subtargets

SVN-Revision: 9383
This commit is contained in:
Felix Fietkau 2007-10-21 06:44:06 +00:00
parent f30ff914a6
commit aef9b313b1

View File

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