mirror of
https://github.com/openwrt/openwrt.git
synced 2026-01-06 12:30:15 +04:00
metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others
SVN-Revision: 17840
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user