From 135006ab2c89ba9d5a186f1e76a81b6256a3f182 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 16 Dec 2013 12:41:32 +0000 Subject: [PATCH] Minor change: set correct environment --- bin/runAppli.in | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2