]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix e7260
authorCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 17 Feb 2020 13:49:36 +0000 (14:49 +0100)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 17 Feb 2020 13:49:36 +0000 (14:49 +0100)
bin/appli_gen.py

index 2e493d613ce193da18f90d6d1cb6814cb191a30c..98acd79f8327e9c3c8886c5979a6a6d225628217 100755 (executable)
@@ -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