1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 20:04:05 +02:00

[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-a3cf2f4a3e73
This commit is contained in:
nico 2009-10-03 20:01:22 +00:00
parent abb09c1f95
commit e9066d1dfb

View File

@ -415,8 +415,8 @@ sub mconf_depends {
my @depends = @$depends; my @depends = @$depends;
foreach my $depend (@depends) { foreach my $depend (@depends) {
my $m = "depends"; my $m = "depends";
$depend =~ s/^([@\+]+)//; my $flags = "";
my $flags = $1; $depend =~ s/^([@\+]+)// and $flags = $1;
my $vdep; my $vdep;
my $condition = $parent_condition; my $condition = $parent_condition;