diff options
author | Erich Eckner <git@eckner.net> | 2018-05-08 08:26:19 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-08 08:26:19 +0200 |
commit | 56e635e1c40bf0aed327c56e54b105607bbe17c7 (patch) | |
tree | 1d7d7d77dfcf49be0252a5a0a1481d5c0df2b79d /lib/common-functions | |
parent | 684e100df759d509d615a0e711b3750c6d4d2211 (diff) | |
download | builder-56e635e1c40bf0aed327c56e54b105607bbe17c7.tar.xz |
lib/common-functions: mangle_pkgbuild: fix sed to properly handle gcc's PKGBUILD
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 6 |
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}" } |