aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/speedo.mk
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2024-08-08 13:15:59 +0000
committerAndre Heinecke <[email protected]>2024-08-08 13:15:59 +0000
commitfd90013a12681320054334c87b33597321ec02e3 (patch)
treee9722820de5845c8a49919d111b81b692d1abdb7 /build-aux/speedo.mk
parentpo: Update pt.po (diff)
downloadgnupg-fd90013a12681320054334c87b33597321ec02e3.tar.gz
gnupg-fd90013a12681320054334c87b33597321ec02e3.zip
speedo,w32: Fix check for gpg-authcode-sign.sh
* build-aux/speedo.mk (AUTHENTICODE_sign): Do version check in subshell to get the return code. -- Otherwise this will fail not with the intended error message but with "no such file or directory."
Diffstat (limited to 'build-aux/speedo.mk')
-rw-r--r--build-aux/speedo.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index 736fd16dd..1a1d5a46c 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -1353,7 +1353,7 @@ endef
# Sign the file $1 and save the result as $2
define AUTHENTICODE_sign
(set -e; \
- if gpg-authcode-sign.sh --version >/dev/null; then \
+ if (gpg-authcode-sign.sh --version >/dev/null); then \
gpg-authcode-sign.sh "$(1)" "$(2)"; \
else \
echo 2>&1 "warning: Please install gpg-authcode-sign.sh to sign files." ;\