projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dc9c4
)
add support for conditional depends to the feeds script
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 18 Oct 2008 19:36:44 +0000
(19:36 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 18 Oct 2008 19:36:44 +0000
(19:36 +0000)
SVN-Revision: 13004
scripts/feeds
patch
|
blob
|
history
diff --git
a/scripts/feeds
b/scripts/feeds
index 8ec0799f70f6872cfcd85e7e37ec263c475e62ec..76d83af9a3e8a8acc71172a1e1c4878c2ecd6f7d 100755
(executable)
--- a/
scripts/feeds
+++ b/
scripts/feeds
@@
-290,8
+290,9
@@
sub install_package {
foreach my $vpkg (@{$srcpackage{$src}}, $pkg) {
foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
next if $dep =~ /@/;
- next if $dep =~ /:/;
$dep =~ s/^\+//;
+ $dep =~ s/^.+://;
+ next unless $dep;
install_package($feed, $dep) == 0 or $ret = 1;
}
}