From: nbd Date: Tue, 3 Mar 2009 14:03:37 +0000 (+0000) Subject: fix a package metadata parsing bug X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a328633ffe6558e77dd19460b83b2b731e9bebdc fix a package metadata parsing bug git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14735 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/metadata.pm b/scripts/metadata.pm index 97746809a..defa7b934 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -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};