mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:20:16 +02:00
fix dependency handling bug
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3929 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4bbeddb891
commit
4c9d7a5f27
@ -38,8 +38,8 @@ foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
|
|||||||
my $depline = "";
|
my $depline = "";
|
||||||
foreach my $dep (@{$pkg{$name}->{depends}}) {
|
foreach my $dep (@{$pkg{$name}->{depends}}) {
|
||||||
my $idx;
|
my $idx;
|
||||||
if (defined $pkg{$dep}->{src} && $pkg{$name}->{src} ne $pkg{$dep}->{src}) {
|
if (defined $pkg{$dep}->{src}) {
|
||||||
$idx = $pkg{$dep}->{src};
|
($pkg{$name}->{src} ne $pkg{$dep}->{src}) and $idx = $pkg{$dep}->{src};
|
||||||
} elsif (defined $pkg{$dep}) {
|
} elsif (defined $pkg{$dep}) {
|
||||||
$idx = $dep;
|
$idx = $dep;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user