diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-01-11 17:33:44 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2016-01-11 17:33:44 -0500 |
commit | 8af8c105597f3bdeb999e288f8201612d6756788 (patch) | |
tree | 4664df210a1bc29ed3820df7a1a98636df5dc4fe | |
parent | d5ff7fda6ec26df1e574ef9fc38ffc082ec2daca (diff) | |
download | spack-8af8c105597f3bdeb999e288f8201612d6756788.tar.gz spack-8af8c105597f3bdeb999e288f8201612d6756788.tar.bz2 spack-8af8c105597f3bdeb999e288f8201612d6756788.tar.xz spack-8af8c105597f3bdeb999e288f8201612d6756788.zip |
Avoid key error when env var is unset
-rw-r--r-- | var/spack/packages/openssl/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/packages/openssl/package.py b/var/spack/packages/openssl/package.py index 36b63e1262..bbb169ec6b 100644 --- a/var/spack/packages/openssl/package.py +++ b/var/spack/packages/openssl/package.py @@ -20,7 +20,7 @@ class Openssl(Package): # OpenSSL uses a variable APPS in its Makefile. If it happens to be set # in the environment, then this will override what is set in the # Makefile, leading to build errors. - del env['APPS'] + env.pop('APPS', None) if spec.satisfies("=darwin-x86_64") or spec.satisfies("=ppc64"): # This needs to be done for all 64-bit architectures (except Linux, # where it happens automatically?) |