mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +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
|
# Sign the file $1 and save the result as $2
|
||||||
define AUTHENTICODE_sign
|
define AUTHENTICODE_sign
|
||||||
(set -e; \
|
(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)"; \
|
gpg-authcode-sign.sh "$(1)" "$(2)"; \
|
||||||
else \
|
else \
|
||||||
echo 2>&1 "warning: Please install gpg-authcode-sign.sh to sign files." ;\
|
echo 2>&1 "warning: Please install gpg-authcode-sign.sh to sign files." ;\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user