Salome HOME
Addition of test extrusion_002
[modules/shaper.git] / linux_run.sh
index 79ed96720ba865965c80dcf5f205a8fd376f3adb..a5a847176a926ef913c04e350097798bc2e6b37d 100755 (executable)
@@ -1,11 +1,10 @@
-#!/bin/sh
+#!/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
+cd ${a_dir}
 
-source ${SRC_DIR}/linux_env.sh
+source ${a_dir}/env.sh
+source ${a_dir}/env_standalone.sh
 
-${ROOT_DIR}/install/bin/GeomApp
+${INSTALL_DIR}/bin/GeomApp "$@"