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 @@ def url_for_version(self, version): 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