summaryrefslogtreecommitdiff
path: root/openwrt
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
commit879a46444f578f52b61ad80bd2bfa329675d9962 (patch)
tree4d6ae77f2d93a0cdb7f02dfccbeef3d8cbd31313 /openwrt
parente600bdeccaecb40dabdbcb15484c14320328b878 (diff)
downloadmtk-20170518-879a46444f578f52b61ad80bd2bfa329675d9962.zip
mtk-20170518-879a46444f578f52b61ad80bd2bfa329675d9962.tar.gz
mtk-20170518-879a46444f578f52b61ad80bd2bfa329675d9962.tar.bz2
fix for multiple dependency flags
SVN-Revision: 4023
Diffstat (limited to 'openwrt')
-rwxr-xr-xopenwrt/scripts/gen_menuconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/gen_menuconfig.pl b/openwrt/scripts/gen_menuconfig.pl
index c40e1ca..eff78dc 100755
--- a/openwrt/scripts/gen_menuconfig.pl
+++ b/openwrt/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";