Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index ad0f206..c0121e6 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -577,8 +577,10 @@ mangle_pkgbuild() {
:a
s,^\s*\(\S[^=]*\)=(\([^()]*\(#[^\n]*\n\)\?\)*),\0\n\1=("${\1[\@]/lib32-/}")\n,
t
- $!N
- ba
+ $! {
+ N
+ ba
+ }
}
' "${PKGBUILD}"
}