summaryrefslogtreecommitdiff
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-12 00:06:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-12 00:06:35 +0000
commitedeee3ac1949f77d92e84d6aafc2f808d5247237 (patch)
tree4a370c411f5d0c2a1cb6c071bf6fbacb74db86c4 /scripts/metadata.pl
parent0b69c5e5499cdc50553df29a1c852989cd398c29 (diff)
downloadmtk-20170518-edeee3ac1949f77d92e84d6aafc2f808d5247237.zip
mtk-20170518-edeee3ac1949f77d92e84d6aafc2f808d5247237.tar.gz
mtk-20170518-edeee3ac1949f77d92e84d6aafc2f808d5247237.tar.bz2
metadata.pl: fix menuconfig code for package features
SVN-Revision: 18386
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 26d878c..54ac063 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"
}