Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f32f2
)
Fix previous commit on salome_common.py which led to a bad applipath
author
Gilles DAVID
<gilles-g.david@edf.fr>
Wed, 15 Mar 2023 14:23:36 +0000
(15:23 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Wed, 31 May 2023 14:32:42 +0000
(16:32 +0200)
bin/appliskel/salome_common.py
patch
|
blob
|
history
diff --git
a/bin/appliskel/salome_common.py
b/bin/appliskel/salome_common.py
index 65d6b525b1b3fdaaf0d7671957ffc514c8a63499..cb9393113829622a88f35da3d420e91ff8da057a 100644
(file)
--- 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')