From 879a46444f578f52b61ad80bd2bfa329675d9962 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 SVN-Revision: 4023 --- openwrt/scripts/gen_menuconfig.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/scripts/gen_menuconfig.pl b/openwrt/scripts/gen_menuconfig.pl index c40e1caedc..eff78dcd90 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"; -- 2.30.2