diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-29 15:00:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 15:00:44 -0600 |
commit | ab98ef17659c413a2eede4106574400a6e4e0ec5 (patch) | |
tree | 4aa948e39792e56298057b794c2eee2158476b34 /var/spack/repos/builtin/packages/sspace-standard/package.py | |
parent | 92ca63990505ba700cde99b2c5cfe80b880cbd8e (diff) | |
download | spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.gz spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.bz2 spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.xz spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.zip |
Mass conversion of setup_(dependent_)?environment (#13924)
* Mass conversion of setup_(dependent_)?environment
* prefix -> self.prefix
Diffstat (limited to 'var/spack/repos/builtin/packages/sspace-standard/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/sspace-standard/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/sspace-standard/package.py b/var/spack/repos/builtin/packages/sspace-standard/package.py index 768bd3afb1..3a5d1fa10e 100644 --- a/var/spack/repos/builtin/packages/sspace-standard/package.py +++ b/var/spack/repos/builtin/packages/sspace-standard/package.py @@ -48,6 +48,6 @@ class SspaceStandard(Package): install_tree('tools', prefix.tools) install(rootscript, prefix) - def setup_environment(self, spack_env, run_env): - run_env.set('SSPACE_HOME', prefix) - run_env.prepend_path('PATH', prefix) + def setup_run_environment(self, env): + env.set('SSPACE_HOME', self.prefix) + env.prepend_path('PATH', self.prefix) |