Cray: Fix a typo that could cause an infinite recursion when calling /env/cc.

fixes #1428
This commit is contained in:
Kelly (KT) Thompson 2016-08-03 14:15:44 -06:00
parent 3e6ebd577f
commit 46e9d85283

View file

@ -98,7 +98,7 @@ def setup_platform_environment(self, pkg, env):
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):