projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo in brcm-2.4 system code
[openwrt.git]
/
scripts
/
gen_deps.pl
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;
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;
}
} elsif (defined $pkg{$dep}) {
$idx = $dep;
}
This page took
0.020141 seconds
and
4
git commands to generate.