diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-10-21 06:44:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-10-21 06:44:06 +0000 |
commit | aef9b313b10207e649778819ffa0b886fed3d447 (patch) | |
tree | bc856d0da14eac08a892ce789b0e6f73ff3fbec9 | |
parent | f30ff914a6529de3563d0e6cb476e830e38a383c (diff) | |
download | mtk-20170518-aef9b313b10207e649778819ffa0b886fed3d447.zip mtk-20170518-aef9b313b10207e649778819ffa0b886fed3d447.tar.gz mtk-20170518-aef9b313b10207e649778819ffa0b886fed3d447.tar.bz2 |
remove the dummy profile that was created on targets that have subtargets
SVN-Revision: 9383
-rwxr-xr-x | scripts/metadata.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 7b3b74b..f84bd46 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -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', |