Salome HOME
Addition of test extrusion_002
[modules/shaper.git] / linux_run.sh
index d6f768320f52594fe25fff7173d516794a991c24..a5a847176a926ef913c04e350097798bc2e6b37d 100755 (executable)
@@ -1,14 +1,10 @@
 #!/bin/bash
 
-# Find absolute path to ROOT_DIR
-export ROOT_DIR=$(pwd)/..
-export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+a_dir=$(dirname $0)
 
-SRC_DIR=${ROOT_DIR}/sources
-source ${SRC_DIR}/salome_env.sh
-source ${SRC_DIR}/linux_env.sh $1
+cd ${a_dir}
 
-INSTALL_DIR=install
-if [ $1 ]; then INSTALL_DIR=${INSTALL_DIR}-$1; fi
+source ${a_dir}/env.sh
+source ${a_dir}/env_standalone.sh
 
-${ROOT_DIR}/${INSTALL_DIR}/bin/GeomApp
+${INSTALL_DIR}/bin/GeomApp "$@"