Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/protobuf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/protobuf/PKGBUILD')
-rw-r--r--extra/protobuf/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/protobuf/PKGBUILD b/extra/protobuf/PKGBUILD
index 9e67a5b0..34eb56cb 100644
--- a/extra/protobuf/PKGBUILD
+++ b/extra/protobuf/PKGBUILD
@@ -12,7 +12,10 @@ _prepare() {
}
eval "$(
- declare -f prepare | \
+ {
+ declare -f prepare || \
+ echo 'prepare()'
+ } | \
sed '$ i _prepare'
)"