diff options
author | eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> | 2020-07-17 13:29:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 13:29:30 -0700 |
commit | 96fa6f0c1be4ab55ec6ba7cd5af059e1ed95351f (patch) | |
tree | 5d536af7a5cab13a6f55d6177dbb24a0db3ac9da | |
parent | e4ba1c1dafd5f43b6bd6bdf27063562ae60f84b0 (diff) | |
download | spack-96fa6f0c1be4ab55ec6ba7cd5af059e1ed95351f.tar.gz spack-96fa6f0c1be4ab55ec6ba7cd5af059e1ed95351f.tar.bz2 spack-96fa6f0c1be4ab55ec6ba7cd5af059e1ed95351f.tar.xz spack-96fa6f0c1be4ab55ec6ba7cd5af059e1ed95351f.zip |
allow GNUPGHOME to come from SPACK_GNUPGHOME in env, if set (#17139)
-rw-r--r-- | lib/spack/spack/util/gpg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/gpg.py b/lib/spack/spack/util/gpg.py index 29b2add852..e6b7f56741 100644 --- a/lib/spack/spack/util/gpg.py +++ b/lib/spack/spack/util/gpg.py @@ -13,7 +13,7 @@ from spack.util.executable import which _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): |