diff options
author | asmaahassan90 <31959389+asmaahassan90@users.noreply.github.com> | 2020-02-14 03:37:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 19:37:39 -0600 |
commit | 413de215b21b961ef456b3348d01fcb79e767a04 (patch) | |
tree | 15d3c7e6e82d3a53bc664dc6440532fa16fe1e24 /var | |
parent | 1c5f72dbaa81e7957ccb5d8005c9d16e62c62f82 (diff) | |
download | spack-413de215b21b961ef456b3348d01fcb79e767a04.tar.gz spack-413de215b21b961ef456b3348d01fcb79e767a04.tar.bz2 spack-413de215b21b961ef456b3348d01fcb79e767a04.tar.xz spack-413de215b21b961ef456b3348d01fcb79e767a04.zip |
Fix run environment (#14908)
* Fix run environment
Trying to install Avizo, i get "Error: NameError: name 'run_env' is not defined". Correcting it to be just "env"
* fix identation
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/avizo/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/avizo/package.py b/var/spack/repos/builtin/packages/avizo/package.py index 283c2d5610..cf14c76d22 100644 --- a/var/spack/repos/builtin/packages/avizo/package.py +++ b/var/spack/repos/builtin/packages/avizo/package.py @@ -31,8 +31,8 @@ class Avizo(Package): license_vars = ['MCSLMD_LICENSE_FILE'] def setup_run_environment(self, env): - run_env.set('MCSLMD_LICENSE_FILE', join_path(self.prefix.share.license, - 'password.dat')) + env.set('MCSLMD_LICENSE_FILE', join_path(self.prefix.share.license, + 'password.dat')) def install(self, spec, prefix): ver = self.version.joined |