fix for multiple dependency flags
authorFelix Fietkau <nbd@openwrt.org>
Tue, 20 Jun 2006 17:50:49 +0000 (17:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 20 Jun 2006 17:50:49 +0000 (17:50 +0000)
SVN-Revision: 4023

openwrt/scripts/gen_menuconfig.pl

index c40e1caedce46dfed3c26b0fe4e40ee57918e328..eff78dcd90e37c4d0e994f56562121c78abe8493 100755 (executable)
@@ -29,7 +29,7 @@ sub print_category($) {
                        }
                        foreach my $depend (@{$pkg->{depends}}) {
                                my $m = "depends";
-                               $depend =~ s/^([@\+])//;
+                               $depend =~ s/^([@\+]+)//;
                                my $flags = $1;
                                $flags =~ /@/ or $depend = "PACKAGE_$depend";
                                $flags =~ /\+/ and $m = "select";