Salome HOME
projects
/
tools
/
yacsgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2020
[tools/yacsgen.git]
/
Examples
/
context.py
diff --git
a/Examples/context.py
b/Examples/context.py
index 7023d248e3650c30a476fa412a12d7ccd422964c..8ab6960e6611a74217f199888558a8b4ef436ec0 100644
(file)
--- a/
Examples/context.py
+++ b/
Examples/context.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2009-20
14
EDF R&D
+# Copyright (C) 2009-20
20
EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-20,7
+20,8
@@
import os,sys
SALOME_ROOT=os.getenv("SALOME_DIR")
import os,sys
SALOME_ROOT=os.getenv("SALOME_DIR")
-SALOME_PREREQ=os.path.join(SALOME_ROOT, "salome_prerequisites.sh")
+SALOME_PACKAGES=os.getenv("SALOME_DIR")
+SALOME_PREREQ=os.path.join(SALOME_PACKAGES, "salome_prerequisites.sh")
#SALOME_PREREQ=os.path.join(SALOME_ROOT, "salome_prerequisites_appli.sh")
KERNEL_ROOT_DIR=os.getenv("KERNEL_ROOT_DIR","")
#SALOME_PREREQ=os.path.join(SALOME_ROOT, "salome_prerequisites_appli.sh")
KERNEL_ROOT_DIR=os.getenv("KERNEL_ROOT_DIR","")