summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-21 06:44:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-21 06:44:06 +0000
commitb900f0c9364c969fb97f815bcc27fda8403ebb7d (patch)
tree4274f0143bc1cae54dee71a9cd13802288848b7f
parent09ce9751537e032aeb285af863681781e7325034 (diff)
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
-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',