fix for multiple dependency flags
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 Jun 2006 17:50:49 +0000 (17:50 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 Jun 2006 17:50:49 +0000 (17:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/gen_menuconfig.pl

index c40e1ca..eff78dc 100755 (executable)
@@ -29,7 +29,7 @@ sub print_category($) {
                        }
                        foreach my $depend (@{$pkg->{depends}}) {
                                my $m = "depends";
                        }
                        foreach my $depend (@{$pkg->{depends}}) {
                                my $m = "depends";
-                               $depend =~ s/^([@\+])//;
+                               $depend =~ s/^([@\+]+)//;
                                my $flags = $1;
                                $flags =~ /@/ or $depend = "PACKAGE_$depend";
                                $flags =~ /\+/ and $m = "select";
                                my $flags = $1;
                                $flags =~ /@/ or $depend = "PACKAGE_$depend";
                                $flags =~ /\+/ and $m = "select";
This page took 0.025675 seconds and 4 git commands to generate.