Changeset 3929


Ignore:
Timestamp:
2006-06-11T02:25:58+02:00 (10 years ago)
Author:
nbd
Message:

fix dependency handling bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/scripts/gen_deps.pl

    r3843 r3929  
    3939        foreach my $dep (@{$pkg{$name}->{depends}}) { 
    4040                my $idx; 
    41                 if (defined $pkg{$dep}->{src} && $pkg{$name}->{src} ne $pkg{$dep}->{src}) { 
    42                         $idx = $pkg{$dep}->{src}; 
     41                if (defined $pkg{$dep}->{src}) { 
     42                        ($pkg{$name}->{src} ne $pkg{$dep}->{src}) and $idx = $pkg{$dep}->{src}; 
    4343                } elsif (defined $pkg{$dep}) { 
    4444                        $idx = $dep; 
Note: See TracChangeset for help on using the changeset viewer.