From 6914e025fa48c7ab1a3f9b3310ef290b30a918a8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 20 Jun 2006 17:50:49 +0000 Subject: [PATCH] fix for multiple dependency flags git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/gen_menuconfig.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";