[scripts] metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17840 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
fa9a336505
commit
2881359719
|
@ -415,8 +415,8 @@ sub mconf_depends {
|
|||
my @depends = @$depends;
|
||||
foreach my $depend (@depends) {
|
||||
my $m = "depends";
|
||||
$depend =~ s/^([@\+]+)//;
|
||||
my $flags = $1;
|
||||
my $flags = "";
|
||||
$depend =~ s/^([@\+]+)// and $flags = $1;
|
||||
my $vdep;
|
||||
my $condition = $parent_condition;
|
||||
|
||||
|
|
Loading…
Reference in New Issue