aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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
commitcdd55b59a1c381abf420b844fddeb2f9695b6b8c (patch)
treeb5d761ff10bb6b4a09bc35ad10f4e90ea07f9a7e /scripts
parentb0c0b2010b9bb4cefe79bb585a8b0875e5831dd5 (diff)
downloadupstream-cdd55b59a1c381abf420b844fddeb2f9695b6b8c.tar.gz
upstream-cdd55b59a1c381abf420b844fddeb2f9695b6b8c.tar.bz2
upstream-cdd55b59a1c381abf420b844fddeb2f9695b6b8c.zip
metadata.pl: fix menuconfig code for package features
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18386 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 26d878cc9e..54ac063902 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"
}