From: Cédric Aguerre Date: Mon, 17 Feb 2020 13:49:36 +0000 (+0100) Subject: Fix e7260 X-Git-Tag: V9_5_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bbea1ef88372c1304ca243c294d776c03c93d68d;p=modules%2Fkernel.git Fix e7260 --- diff --git a/bin/appli_gen.py b/bin/appli_gen.py index 2e493d613..98acd79f8 100755 --- a/bin/appli_gen.py +++ b/bin/appli_gen.py @@ -279,7 +279,7 @@ def install(prefix, config_file, verbose=0): pass - # Copy salome script + # Copy salome script salome_script = open(os.path.join(appliskel_dir, "salome")).read() salome_file = os.path.join(home_dir, "salome") try: @@ -330,7 +330,7 @@ def install(prefix, config_file, verbose=0): pass # Create environment file: configSalome.sh - + if "python_version" in _config: versionPython_split = _config["python_version"].split('.') versionPython = versionPython_split[0] + "." + versionPython_split[1] @@ -358,7 +358,7 @@ export LD_LIBRARY_PATH=${HOME}/${APPLI}/lib/salome:$LD_LIBRARY_PATH f.write(command) # Create environment variable for the salome test for module in _config.get("modules", []): - command = "export LD_LIBRARY_PATH= ${HOME}/${APPLI}/bin/salome/test/" + module + "/lib:$LD_LIBRARY_PATH\n" + command = "export LD_LIBRARY_PATH=${HOME}/${APPLI}/bin/salome/test/" + module + "/lib:$LD_LIBRARY_PATH\n" f.write(command) pass # Create environment for plugins GEOM