summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-12 00:06:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-12 00:06:35 +0000
commit6e4aacf42ab90c882bbbdcc35f36e8853128d5df (patch)
treeb5d761ff10bb6b4a09bc35ad10f4e90ea07f9a7e
parent25941ba23fb2a8ebcce9a2143007809c4136fba3 (diff)
metadata.pl: fix menuconfig code for package features
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18386 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/metadata.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 26d878cc9..54ac06390 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -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"
}