Merge pull request #1430 from KineticTheory/cray-cc-recursion-fix

Cray: Fix a typo that could cause an infinite recursion when calling env/cc
This commit is contained in:
Todd Gamblin 2016-08-03 13:34:54 -07:00 committed by GitHub
commit 88bb67e279

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):