aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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
commit0b79377a32dd8f7ace0c3f135310dc41ec223c51 (patch)
tree4274f0143bc1cae54dee71a9cd13802288848b7f /scripts
parentcb2d816218510fcbb47ceeefb30b805374000f48 (diff)
downloadmaster-187ad058-0b79377a32dd8f7ace0c3f135310dc41ec223c51.tar.gz
master-187ad058-0b79377a32dd8f7ace0c3f135310dc41ec223c51.tar.bz2
master-187ad058-0b79377a32dd8f7ace0c3f135310dc41ec223c51.zip
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-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',