From: SPN Salome - CEA Date: Wed, 28 Jun 2017 14:44:13 +0000 (+0200) Subject: Get an absolute path for env files in packages. X-Git-Tag: V8_3_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7380b51b4b836a68498df1d118f644986fef08f6;p=tools%2Fsat.git Get an absolute path for env files in packages. see spns #8739 --- diff --git a/src/fileEnviron.py b/src/fileEnviron.py index ab43f3c..4d4cbc0 100644 --- 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}