From: crouzet Date: Wed, 8 Aug 2018 10:14:21 +0000 (+0200) Subject: fix pour spns #7493 Lancement de salome depuis un lien symbolique X-Git-Tag: V9_1_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d991f4d620b8e907539a5cc6a282e356e857419a;p=tools%2Fsat.git fix pour spns #7493 Lancement de salome depuis un lien symbolique --- diff --git a/src/fileEnviron.py b/src/fileEnviron.py index 119f4d3..dfcd1e5 100644 --- a/src/fileEnviron.py +++ b/src/fileEnviron.py @@ -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():