summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKelly (KT) Thompson <kgt@lanl.gov>2016-08-03 14:15:44 -0600
committerKelly (KT) Thompson <kgt@lanl.gov>2016-08-03 14:15:44 -0600
commit46e9d85283075680f1419092e0a50751b603ce9f (patch)
treedb2c2229352a8a4805307c5a9a12628ca6217fa3 /lib
parent3e6ebd577f61ff85ac3f94d3518ed391ea123bf5 (diff)
downloadspack-46e9d85283075680f1419092e0a50751b603ce9f.tar.gz
spack-46e9d85283075680f1419092e0a50751b603ce9f.tar.bz2
spack-46e9d85283075680f1419092e0a50751b603ce9f.tar.xz
spack-46e9d85283075680f1419092e0a50751b603ce9f.zip
Cray: Fix a typo that could cause an infinite recursion when calling /env/cc.
fixes #1428
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/platforms/cray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py
index 2a3b81cf9c..0059b49ff1 100644
--- a/lib/spack/spack/platforms/cray.py
+++ b/lib/spack/spack/platforms/cray.py
@@ -98,7 +98,7 @@ class Cray(Platform):
cray_wrapper_names = join_path(spack.build_env_path, 'cray')
if os.path.isdir(cray_wrapper_names):
env.prepend_path('PATH', cray_wrapper_names)
- env.prepend_path('SPACK_ENV_PATHS', cray_wrapper_names)
+ env.prepend_path('SPACK_ENV_PATH', cray_wrapper_names)
@classmethod
def detect(self):