Salome HOME
Correct compilation error
[modules/shaper.git] / linux_run.sh
index 79ed96720ba865965c80dcf5f205a8fd376f3adb..aad0cde3e4ce2df46d450b10b390dc5519fc5aa8 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`
+source env.sh
+source ${TOOLS_DIR}/env_standalone.sh
 
-SRC_DIR=${ROOT_DIR}/sources
+${TOOLS_DIR}/solver.sh "$@"
 
-source ${SRC_DIR}/linux_env.sh
+APP=${SHAPER_ROOT_DIR}/bin/GeomApp
 
-${ROOT_DIR}/install/bin/GeomApp
+${APP}