Michał Górny <[email protected]> writes:

> Respect GNUPG envvar for direct "gpg" invocations, to match the gemato
> behavior.
>
> Signed-off-by: Michał Górny <[email protected]>
> ---
>  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 9d9be4e377f12..ba1086d6641c1 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)

ok

Reply via email to