From 7380b51b4b836a68498df1d118f644986fef08f6 Mon Sep 17 00:00:00 2001 From: SPN Salome - CEA Date: Wed, 28 Jun 2017 16:44:13 +0200 Subject: [PATCH] Get an absolute path for env files in packages. see spns #8739 --- src/fileEnviron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.2