From 6b2bbf72daf25a11d14fc001e98c64060171cc62 Mon Sep 17 00:00:00 2001 From: Sergey BELASH Date: Mon, 14 Apr 2014 17:01:02 +0400 Subject: [PATCH] Linux environment for launching the application --- linux_env.sh | 2 +- linux_run.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 linux_run.sh 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 -- 2.39.2