projects
/
openwrt
/
staging
/
noltari.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30ff91
)
remove the dummy profile that was created on targets that have subtargets
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 21 Oct 2007 06:44:06 +0000
(06:44 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 21 Oct 2007 06:44:06 +0000
(06:44 +0000)
SVN-Revision: 9383
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index 7b3b74b3c6b3726e3a3eda4098c092b0a54b3f27..f84bd462fa3440979bac699a3ab9b753508e7943 100755
(executable)
--- 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',