From 772c6488da203a2d3af523cc3b4a2378a2a1ae12 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 31 Oct 2007 23:27:55 +0000
Subject: [PATCH] indent custom package config code

SVN-Revision: 9472
---
 scripts/metadata.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/metadata.pm b/scripts/metadata.pm
index ff39e346ea..917fbec079 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};
-- 
GitLab