]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Set ROOT_SALOME_INSTALL to the root installation.
authorPascal Obry <pascal.obry@edf.fr>
Wed, 5 Jun 2019 06:32:19 +0000 (08:32 +0200)
committerPascal Obry <pascal.obry@edf.fr>
Wed, 5 Jun 2019 06:41:22 +0000 (08:41 +0200)
This allows a fully movable install application directory.

bin/appliskel/salome

index b84f35053f468db5cf51a44f0da7f9c17266d384..11b76eb31641fae9567c0e0dfd754476f140d095 100755 (executable)
@@ -39,6 +39,7 @@ def main(args):
         args.append(env_modules_option)
 
     appliPath = os.path.dirname(os.path.realpath(__file__))
+    os.environ["ROOT_SALOME_INSTALL"]=appliPath
     proc = subprocess.Popen([os.path.join(appliPath, '.salome_run')] + args, close_fds=True)
     out, err = proc.communicate()
     sys.exit(proc.returncode)