diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-10-21 06:44:06 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-10-21 06:44:06 +0000 |
commit | b900f0c9364c969fb97f815bcc27fda8403ebb7d (patch) | |
tree | 4274f0143bc1cae54dee71a9cd13802288848b7f /scripts | |
parent | 09ce9751537e032aeb285af863681781e7325034 (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
Diffstat (limited to 'scripts')
-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 7b3b74b3c..f84bd462f 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', |