summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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";