From 05ae86ca2eaa041e699326c7ec5fc6b1c9e7153f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 12 Jan 2013 15:58:57 -0500 Subject: -PKGBUILD: fix a bug with mutli-line format-array tripping too often --- moz-normalize-PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moz-normalize-PKGBUILD b/moz-normalize-PKGBUILD index c254d19..4539d5f 100755 --- a/moz-normalize-PKGBUILD +++ b/moz-normalize-PKGBUILD @@ -16,7 +16,7 @@ format-array() { local file=$2 sed -ri \ -e "/^$var=\(.*\)/{ $format_array } # single-line" \ - -e "/^$var=\(/,/\)/{ $format_array } # multi-line" \ + -e "/^$var=\([^)]*$/,/\)/{ $format_array } # multi-line" \ "$file" } -- cgit v1.2.3-54-g00ecf