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 26d878cc9ed0d64685b2285f109c81e9e0f02ee5..54ac06390234d8e173dae9951944d7c4707bf9e1 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"
        }