more dependency fixes

SVN-Revision: 4024
lede-17.01
Felix Fietkau 2006-06-20 17:54:30 +00:00
parent 879a46444f
commit ea43523991
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ while ($line = <>) {
$line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do { $line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do {
$pkg{$name}->{depends} ||= []; $pkg{$name}->{depends} ||= [];
foreach my $v (split /\s+/, $2) { foreach my $v (split /\s+/, $2) {
next if $v =~ /^@/; next if $v =~ /^[\+]?@/;
$v =~ s/^\+//; $v =~ s/^\+//;
push @{$pkg{$name}->{depends}}, $v; push @{$pkg{$name}->{depends}}, $v;
} }