fix a package metadata parsing bug
authorFelix Fietkau <nbd@openwrt.org>
Tue, 3 Mar 2009 14:03:37 +0000 (14:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 3 Mar 2009 14:03:37 +0000 (14:03 +0000)
SVN-Revision: 14735

scripts/metadata.pm

index 97746809a4698b6e428c3a16fdb2a6516e1aa109..defa7b9346ffa823c11482a30bded9ef05ff586e 100644 (file)
@@ -105,7 +105,7 @@ sub parse_package_metadata($) {
                                $type =~ /ipkg/ and $pkg->{tristate} = 1;
                        }
                };
-               /^Config: \s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
+               /^Config:\s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
                /^Prereq-Check:/ and $pkg->{prereq} = 1;
                /^Preconfig:\s*(.+)\s*$/ and do {
                        my $pkgname = $pkg->{name};