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 Todd Gamblin
parent 0f25462ea6
commit 7302dd834f

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):