Salome HOME
fix pour spns #7493 Lancement de salome depuis un lien symbolique V9_1_0
authorcrouzet <nicolas.crouzet@cea.fr>
Wed, 8 Aug 2018 10:14:21 +0000 (12:14 +0200)
committercrouzet <nicolas.crouzet@cea.fr>
Wed, 8 Aug 2018 10:14:21 +0000 (12:14 +0200)
src/fileEnviron.py

index 119f4d30eedbe4ebae654f42968e928406e6a62b..dfcd1e5656c62f7ecd8993b6e3a3ba9b37c5b9e5 100644 (file)
@@ -752,7 +752,7 @@ import subprocess
 
 # Add the pwdPath to able to run the launcher after unpacking a package
 # Used only in case of a salomeTools package
-out_dir_Path=os.path.abspath(os.path.dirname(__file__))
+out_dir_Path=os.path.dirname(os.path.realpath(__file__))
 
 # Preliminary work to initialize path to SALOME Python modules
 def __initialize():
@@ -879,7 +879,7 @@ import subprocess
 
 # Add the pwdPath to able to run the launcher after unpacking a package
 # Used only in case of a salomeTools package
-out_dir_Path=os.path.abspath(os.path.dirname(__file__))
+out_dir_Path=os.path.dirname(os.path.realpath(__file__))
 
 # Preliminary work to initialize path to SALOME Python modules
 def __initialize():