From 5395d14488ac5d1fe5ef3985c63aad0218ee998f Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 20 Jun 2006 17:50:49 +0000 Subject: fix for multiple dependency flags git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/gen_menuconfig.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/gen_menuconfig.pl b/scripts/gen_menuconfig.pl index c40e1caed..eff78dcd9 100755 --- a/scripts/gen_menuconfig.pl +++ b/scripts/gen_menuconfig.pl @@ -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"; -- cgit v1.2.3