From: vsr Date: Mon, 16 Dec 2013 12:41:32 +0000 (+0000) Subject: Minor change: set correct environment X-Git-Tag: V7_3_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=135006ab2c89ba9d5a186f1e76a81b6256a3f182;p=modules%2Fhomard.git Minor change: set correct environment --- diff --git a/bin/runAppli.in b/bin/runAppli.in index 8c8d9670..9f255a6b 100755 --- a/bin/runAppli.in +++ b/bin/runAppli.in @@ -18,8 +18,12 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +if [ -z "${KERNEL_ROOT_DIR}" ] ; then export KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@ +fi +if [ -z "${HOMARD_ROOT_DIR}" ] ; then export HOMARD_ROOT_DIR=@CMAKE_INSTALL_PREFIX@ +fi ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python -i ${HOMARD_ROOT_DIR}/bin/salome/runSalome.py --modules=HOMARD --xterm --containers=cpp,python --killall