summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-08-03 13:34:54 -0700
committerGitHub <noreply@github.com>2016-08-03 13:34:54 -0700
commit88bb67e2793e1ed6d27abfdb51b81be68645bbb1 (patch)
treedb2c2229352a8a4805307c5a9a12628ca6217fa3
parent3e6ebd577f61ff85ac3f94d3518ed391ea123bf5 (diff)
parent46e9d85283075680f1419092e0a50751b603ce9f (diff)
downloadspack-88bb67e2793e1ed6d27abfdb51b81be68645bbb1.tar.gz
spack-88bb67e2793e1ed6d27abfdb51b81be68645bbb1.tar.bz2
spack-88bb67e2793e1ed6d27abfdb51b81be68645bbb1.tar.xz
spack-88bb67e2793e1ed6d27abfdb51b81be68645bbb1.zip
Merge pull request #1430 from KineticTheory/cray-cc-recursion-fix
Cray: Fix a typo that could cause an infinite recursion when calling env/cc
-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):