projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cd883e
)
fix dependency handling bug
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Jun 2006 00:25:58 +0000
(
00:25
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Jun 2006 00:25:58 +0000
(
00:25
+0000)
SVN-Revision: 3929
openwrt/scripts/gen_deps.pl
patch
|
blob
|
history
diff --git
a/openwrt/scripts/gen_deps.pl
b/openwrt/scripts/gen_deps.pl
index d75f06d6f6f8a99f02a82bb6681a8f665fdf16a1..0983186f8614f84d2d3e0f94e076debf2c78980e 100755
(executable)
--- a/
openwrt/scripts/gen_deps.pl
+++ b/
openwrt/scripts/gen_deps.pl
@@
-38,8
+38,8
@@
foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
my $depline = "";
foreach my $dep (@{$pkg{$name}->{depends}}) {
my $idx;
- if (defined $pkg{$dep}->{src}
&& $pkg{$name}->{src} ne $pkg{$dep}->{src}
) {
- $idx = $pkg{$dep}->{src};
+ if (defined $pkg{$dep}->{src}) {
+
($pkg{$name}->{src} ne $pkg{$dep}->{src}) and
$idx = $pkg{$dep}->{src};
} elsif (defined $pkg{$dep}) {
$idx = $dep;
}