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:
parent
1c5f72dbaa
commit
413de215b2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue