projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bbeddb
)
fix dependency handling bug
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Jun 2006 00:25:58 +0000
(
00:25
+0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Jun 2006 00:25:58 +0000
(
00:25
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3929
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/gen_deps.pl
patch
|
blob
|
history
diff --git
a/scripts/gen_deps.pl
b/scripts/gen_deps.pl
index
d75f06d
..
0983186
100755
(executable)
--- a/
scripts/gen_deps.pl
+++ b/
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;
}
This page took
0.023029 seconds
and
4
git commands to generate.