From: Christian Van Wambeke Date: Tue, 24 Oct 2023 14:30:18 +0000 (+0200) Subject: fix SOLVERLAB.py SOLVERLABGUI.py X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a66978003b24d5a79d6f9d0ad382e0c1bbe170a6;p=tools%2Fsat_salome.git fix SOLVERLAB.py SOLVERLABGUI.py --- diff --git a/products/env_scripts/SOLVERLAB.py b/products/env_scripts/SOLVERLAB.py index e84c7cb..804b9a7 100644 --- a/products/env_scripts/SOLVERLAB.py +++ b/products/env_scripts/SOLVERLAB.py @@ -31,6 +31,9 @@ def set_env(env, product_dir, version): env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'cdmath')) env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'cdmath')) env.prepend('PYTHONPATH', os.path.join(root, 'bin', 'cdmath','postprocessing')) - + + env.set('SOLVERLAB_WORKDIR', "${HOME}/SOLVERLAB_WORKDIR") + env.set('USERLOGIN', "${USER}") + def set_nativ_env(env): pass diff --git a/products/env_scripts/SOLVERLABGUI.py b/products/env_scripts/SOLVERLABGUI.py index 8c71ff1..2f3a025 100644 --- a/products/env_scripts/SOLVERLABGUI.py +++ b/products/env_scripts/SOLVERLABGUI.py @@ -10,8 +10,9 @@ def set_env(env, product_dir, version): env.prepend('PYTHONPATH', product_dir) env.prepend('PYTHONPATH', os.path.join(product_dir, 'solverlabpy')) env.prepend('PYTHONPATH', os.path.join(product_dir, 'bin', 'salome')) - env.set('SOLVERLABGUI_WORKDIR', r'/tmp') - env.set('USERLOGIN', "$USER") + env.set('SOLVERLABGUI_WORKDIR', "${HOME}/SOLVERLAB_WORKDIR") + env.set('USERLOGIN', "${USER}") # for windaube def set_nativ_env(env): pass +