fix dependency handling bug
SVN-Revision: 3929
This commit is contained in:
parent
7cd883e671
commit
faf7e1a5dd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue