Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daffa1a
)
Get an absolute path for env files in packages.
author
SPN Salome - CEA
<support-salome@cea.fr>
Wed, 28 Jun 2017 14:44:13 +0000
(16:44 +0200)
committer
SPN Salome - CEA
<support-salome@cea.fr>
Wed, 28 Jun 2017 14:44:13 +0000
(16:44 +0200)
see spns #8739
src/fileEnviron.py
patch
|
blob
|
history
diff --git
a/src/fileEnviron.py
b/src/fileEnviron.py
index ab43f3cbc42af9019b9add3f48af26b683d3bad5..4d4cbc019d2b6dad9e2177fc88f8b4e136a869c7 100644
(file)
--- a/
src/fileEnviron.py
+++ b/
src/fileEnviron.py
@@
-67,7
+67,7
@@
export $1=$out_var
}
# The 3 following variables are used only in case of a sat package
-export out_dir_Path=
`dirname "${BASH_SOURCE[0]}"`
+export out_dir_Path=
$(cd $(dirname ${BASH_SOURCE[0]});pwd))
export PRODUCT_OUT_DIR=${out_dir_Path}
export PRODUCT_ROOT_DIR=${PRODUCT_OUT_DIR}