From: Felix Fietkau Date: Thu, 12 Jun 2014 14:35:09 +0000 (+0000) Subject: scripts/metadata.pl: avoid adding depends and select for the same symbol X-Git-Tag: reboot~6935 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=58bd3b0764c21d484b04b59f11b61a747fd3491b;p=openwrt%2Fstaging%2Fblogic.git scripts/metadata.pl: avoid adding depends and select for the same symbol Signed-off-by: Felix Fietkau SVN-Revision: 41160 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index eed1998d274b..e408beb507a6 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -504,7 +504,7 @@ sub mconf_depends { next if $depend eq $condition; $depend = "$depend if $condition"; } else { - $depend = "!($condition) || $depend"; + $depend = "!($condition) || $depend" unless $dep->{$condition} eq 'select'; } } }