From cbb337a220e3bdf63c706af82097e315006ba697 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 14 Feb 2023 06:16:20 +0100 Subject: extra/protobuf: guard patch against missing prepare() --- extra/protobuf/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extra') 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' )" -- cgit v1.2.3-70-g09d2