commit:     b36318ddfa467f2a65f6755bb5490a3f3527d0d3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 30 15:22:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 06:21:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b36318dd

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 <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/44387
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/verify-sig.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

Reply via email to