annoying initrd bug introduced by 2.6.17
[openwrt-10.03/.git] / scripts / gen_deps.pl
index 0983186f8614f84d2d3e0f94e076debf2c78980e..de8572c762bedc58121ad7d66331a09645afabee 100755 (executable)
@@ -22,7 +22,7 @@ while ($line = <>) {
        $line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do {
                $pkg{$name}->{depends} ||= [];
                foreach my $v (split /\s+/, $2) {
-                       next if $v =~ /^@/;
+                       next if $v =~ /^[\+]?@/;
                        $v =~ s/^\+//;
                        push @{$pkg{$name}->{depends}}, $v;
                }