mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +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:
parent
d73beb5398
commit
fd90013a12
@ -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." ;\
|
||||
|
Loading…
x
Reference in New Issue
Block a user