metadata.pl: fix menuconfig code for package features
authorFelix Fietkau <nbd@openwrt.org>
Thu, 12 Nov 2009 00:06:35 +0000 (00:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 12 Nov 2009 00:06:35 +0000 (00:06 +0000)
SVN-Revision: 18386

scripts/metadata.pl

index 26d878c..54ac063 100755 (executable)
@@ -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"
        }