projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8183d10
)
metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inheri...
author
Nicolas Thill
<nico@openwrt.org>
Sat, 3 Oct 2009 20:01:22 +0000
(20:01 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Sat, 3 Oct 2009 20:01:22 +0000
(20:01 +0000)
SVN-Revision: 17840
scripts/metadata.pl
patch
|
blob
|
history
diff --git
a/scripts/metadata.pl
b/scripts/metadata.pl
index 41147d0ab8e5bdc9cb7eeed9eb4e0d8c5df45d0c..8f146c3b005d7bb68762af171e3ddc0ef3810ab3 100755
(executable)
--- a/
scripts/metadata.pl
+++ b/
scripts/metadata.pl
@@
-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;