From 88e3caf857cf75256dc3f669403eb2671dbd9659 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 21 Oct 2007 06:44:06 +0000 Subject: [PATCH] remove the dummy profile that was created on targets that have subtargets SVN-Revision: 9383 --- scripts/metadata.pl | 1 + 1 file changed, 1 insertion(+) 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', -- 2.30.2