From 677ba750b60794279a939d71001bdbaf1c2d7b5d Mon Sep 17 00:00:00 2001 From: crouzet Date: Wed, 8 Aug 2018 12:14:21 +0200 Subject: [PATCH] fix pour spns #7493 Lancement de salome depuis un lien symbolique --- src/fileEnviron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(): -- 2.30.2