From: Sergey BELASH Date: Mon, 14 Apr 2014 13:01:02 +0000 (+0400) Subject: Linux environment for launching the application X-Git-Tag: V_0.1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b2bbf72daf25a11d14fc001e98c64060171cc62;p=modules%2Fshaper.git Linux environment for launching the application --- diff --git a/linux_env.sh b/linux_env.sh index 2c3a9e612..b529b4031 100644 --- a/linux_env.sh +++ b/linux_env.sh @@ -89,5 +89,5 @@ export LIB=${LD_LIBRARY_PATH} export INST_DIR=${ROOT_DIR}/install export PATH=${INST_DIR}/bin:${INST_DIR}/plugins:${PATH} -export LD_LIBRARY_PATH=${INST_DIR}/bin:${INST_DIR}/swig:${LD_LIBRARY_PATH} +export LD_LIBRARY_PATH=${INST_DIR}/bin:${INST_DIR}/swig:${INST_DIR}/plugins:${PATH}${LD_LIBRARY_PATH} export NEW_GEOM_CONFIG_FILE=${INST_DIR}/plugins diff --git a/linux_run.sh b/linux_run.sh new file mode 100644 index 000000000..5104f9f9b --- /dev/null +++ b/linux_run.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Find absolute path to ROOT_DIR +export ROOT_DIR=$(pwd)/.. +export ROOT_DIR=`cd "${ROOT_DIR}";pwd` + +SRC_DIR=${ROOT_DIR}/sources + +source ${SRC_DIR}/linux_env.sh + +${ROOT_DIR}/install/bin/XGUI