From: Gilles DAVID Date: Wed, 15 Mar 2023 14:23:36 +0000 (+0100) Subject: Fix previous commit on salome_common.py which led to a bad applipath X-Git-Tag: emc2p_1.3.7-rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7957bb83ca3ee7a83f11912697850f5985dc4178;p=modules%2Fkernel.git Fix previous commit on salome_common.py which led to a bad applipath --- diff --git a/bin/appliskel/salome_common.py b/bin/appliskel/salome_common.py index 65d6b525b..cb9393113 100644 --- a/bin/appliskel/salome_common.py +++ b/bin/appliskel/salome_common.py @@ -27,7 +27,7 @@ import sys def main(args): ''' Load modules then launch salome ''' - appliPath = os.path.dirname(os.path.realpath(__file__)) + appliPath = os.path.realpath(os.path.dirname(os.path.abspath(__file__))) MODULES_FILE = os.path.join(appliPath, "env_modules.json") if os.path.isfile(MODULES_FILE): env_modules = json.loads(open(MODULES_FILE).read()).get('env_modules')