summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-30 16:22:59 +0100
committerMichał Górny <mgorny@gentoo.org>2025-10-31 07:21:45 +0100
commitb36318ddfa467f2a65f6755bb5490a3f3527d0d3 (patch)
tree97a634fdfe0d689856289dc419ba9abd637edcbf /eclass
parent292bf158aa207a022d4a8ddfe9527470c1128724 (diff)
downloadgentoo-b36318ddfa467f2a65f6755bb5490a3f3527d0d3.tar.gz
gentoo-b36318ddfa467f2a65f6755bb5490a3f3527d0d3.tar.bz2
gentoo-b36318ddfa467f2a65f6755bb5490a3f3527d0d3.zip
verify-sig.eclass: Respect GNUPG envvar
Respect GNUPG envvar for direct "gpg" invocations, to match the gemato behavior. Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/44387 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/verify-sig.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass
index 9d9be4e377f1..ba1086d6641c 100644
--- a/eclass/verify-sig.eclass
+++ b/eclass/verify-sig.eclass
@@ -279,7 +279,7 @@ verify-sig_verify_message() {
# https://bugs.gentoo.org/854492
local -x TMPDIR=/tmp
gemato gpg-wrap -K "${key}" "${extra_args[@]}" -- \
- gpg --verify --output="${output_file}" "${file}" ||
+ "${GNUPG:-gpg}" --verify --output="${output_file}" "${file}" ||
die "PGP signature verification failed"
;;
signify)