aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-20 17:50:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-20 17:50:49 +0000
commit6914e025fa48c7ab1a3f9b3310ef290b30a918a8 (patch)
tree7a135949147d86fd0d892f6d760f414d64a25cc3
parentc5fd401083bf1bbef815426c87816ed8c036d938 (diff)
downloadupstream-6914e025fa48c7ab1a3f9b3310ef290b30a918a8.tar.gz
upstream-6914e025fa48c7ab1a3f9b3310ef290b30a918a8.tar.bz2
upstream-6914e025fa48c7ab1a3f9b3310ef290b30a918a8.zip
fix for multiple dependency flags
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/gen_menuconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_menuconfig.pl b/scripts/gen_menuconfig.pl
index c40e1caedc..eff78dcd90 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";