]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Linux environment for launching the application
authorSergey BELASH <belash.sergey@opencascade.com>
Mon, 14 Apr 2014 13:01:02 +0000 (17:01 +0400)
committerSergey BELASH <belash.sergey@opencascade.com>
Mon, 14 Apr 2014 13:01:02 +0000 (17:01 +0400)
linux_env.sh
linux_run.sh [new file with mode: 0644]

index 2c3a9e6128790d56e8cd52e537dd0568f51fbf9b..b529b4031a8e13f3ca2761573e083cd3f0e4b325 100644 (file)
@@ -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 (file)
index 0000000..5104f9f
--- /dev/null
@@ -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