From: nbd Date: Wed, 31 Oct 2007 23:27:55 +0000 (+0000) Subject: indent custom package config code X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a40177e0b251b982970f3a230945c1f19519aef4?ds=sidebyside indent custom package config code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9472 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/metadata.pm b/scripts/metadata.pm index ff39e346e..917fbec07 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -96,7 +96,7 @@ sub parse_package_metadata($) { $type =~ /ipkg/ and $pkg->{tristate} = 1; } }; - /^Config: \s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE); + /^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};