From 3fbb58bd69a4618a0c7a5ffd046adb95d9018a6a Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Wed, 15 Mar 2023 15:23:36 +0100 Subject: [PATCH] Fix previous commit on salome_common.py which led to a bad applipath --- bin/appliskel/salome_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.39.2