summaryrefslogtreecommitdiff
path: root/moz-normalize-PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-01-12 15:58:57 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-01-12 15:58:57 -0500
commit05ae86ca2eaa041e699326c7ec5fc6b1c9e7153f (patch)
treeaa08d0c01f76507e062fb6edf8425fc1aa4bc8a5 /moz-normalize-PKGBUILD
parent98a9cba0505689cf9a63411521038e340bffa1fc (diff)
-PKGBUILD: fix a bug with mutli-line format-array tripping too oftenHEADmaster
Diffstat (limited to 'moz-normalize-PKGBUILD')
-rwxr-xr-xmoz-normalize-PKGBUILD2
1 files changed, 1 insertions, 1 deletions
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"
}