metadata.pl: fix menuconfig code for package features

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18386 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2009-11-12 00:06:35 +00:00
parent b0c0b2010b
commit cdd55b59a1

View File

@@ -549,9 +549,10 @@ EOF
print <<EOF;
config FEATURE_$feature->{name}
bool "$feature->{title}"
help
$feature->{description}
EOF
$feature->{description} =~ /\w/ and do {
print "\t\thelp\n".$feature->{description}."\n";
};
}
print "endchoice\n"
}