1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

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."
This commit is contained in:
Andre Heinecke 2024-08-08 15:15:59 +02:00
parent d73beb5398
commit fd90013a12
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -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." ;\