allow GNUPGHOME to come from SPACK_GNUPGHOME in env, if set (#17139)

This commit is contained in:
eugeneswalker 2020-07-17 13:29:30 -07:00 committed by GitHub
parent e4ba1c1daf
commit 96fa6f0c1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
_gnupg_version_re = r"^gpg \(GnuPG\) (.*)$"
GNUPGHOME = spack.paths.gpg_path
GNUPGHOME = os.getenv('SPACK_GNUPGHOME', spack.paths.gpg_path)
def parse_keys_output(output):