X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5bc57a98e306e8b404dda68c6ae6982a5d36937c..9cff4857fce61eadff4e4291f0b9613754f5b4b1:/scripts/gen_menuconfig.pl 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";