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
This commit is contained in:
asmaahassan90 2020-02-14 03:37:39 +02:00 committed by GitHub
parent 1c5f72dbaa
commit 413de215b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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