projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d38b4fd
)
fix scripts/feeds dependency lookup: process deps for all virtual packages of a src...
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 4 Aug 2008 22:03:28 +0000
(22:03 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 4 Aug 2008 22:03:28 +0000
(22:03 +0000)
SVN-Revision: 12101
scripts/feeds
patch
|
blob
|
history
diff --git
a/scripts/feeds
b/scripts/feeds
index 78e65ad1d5c184584d34a122bd8376751885141d..f1baad5766dd2742c78c40211a5afd1f9e0b6f90 100755
(executable)
--- a/
scripts/feeds
+++ b/
scripts/feeds
@@
-280,10
+280,12
@@
sub install_package {
};
# install all dependencies
- foreach my $dep (@{$pkg->{depends}}, @{$pkg->{builddepends}}) {
- next if $dep =~ /@/;
- $dep =~ s/^\+//;
- install_package($feed, $dep) == 0 or $ret = 1;
+ foreach my $vpkg (@{$srcpackage{$src}}) {
+ foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
+ next if $dep =~ /@/;
+ $dep =~ s/^\+//;
+ install_package($feed, $dep) == 0 or $ret = 1;
+ }
}
return $ret;