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/wordnet/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/wordnet/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/wordnet/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/wordnet/package.py b/var/spack/repos/builtin/packages/wordnet/package.py index 6bb3ca2dc0..23ae8e7fe6 100644 --- a/var/spack/repos/builtin/packages/wordnet/package.py +++ b/var/spack/repos/builtin/packages/wordnet/package.py @@ -28,6 +28,6 @@ class Wordnet(AutotoolsPackage): return args - def setup_environment(self, spack_env, run_env): - run_env.set('WNHOME', self.prefix) - run_env.set('WNSEARCHDIR', self.prefix.dict) + def setup_run_environment(self, env): + env.set('WNHOME', self.prefix) + env.set('WNSEARCHDIR', self.prefix.dict) |