aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-21 06:44:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-21 06:44:06 +0000
commitaef9b313b10207e649778819ffa0b886fed3d447 (patch)
treebc856d0da14eac08a892ce789b0e6f73ff3fbec9 /scripts/metadata.pl
parentf30ff914a6529de3563d0e6cb476e830e38a383c (diff)
downloadupstream-aef9b313b10207e649778819ffa0b886fed3d447.tar.gz
upstream-aef9b313b10207e649778819ffa0b886fed3d447.tar.bz2
upstream-aef9b313b10207e649778819ffa0b886fed3d447.zip
remove the dummy profile that was created on targets that have subtargets
SVN-Revision: 9383
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 7b3b74b3c6..f84bd462fa 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',