From fd90013a12681320054334c87b33597321ec02e3 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 8 Aug 2024 15:15:59 +0200 Subject: 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." --- build-aux/speedo.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." ;\ -- cgit v1.2.3