From: Felix Fietkau Date: Tue, 20 Jun 2006 17:50:49 +0000 (+0000) Subject: fix for multiple dependency flags X-Git-Tag: reboot~30718^2~514 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=879a46444f578f52b61ad80bd2bfa329675d9962;p=openwrt%2Fstaging%2Fblogic.git fix for multiple dependency flags SVN-Revision: 4023 --- diff --git a/openwrt/scripts/gen_menuconfig.pl b/openwrt/scripts/gen_menuconfig.pl index c40e1caedce4..eff78dcd90e3 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";