Salome HOME
Remove linking to GeomValidators.
[modules/shaper.git] / linux_run.sh
index ea8112eb84d9d09ebea5948fabb177134548fb73..5294b88287ccf7f3de55d1a420577f8457319062 100755 (executable)
@@ -1,17 +1,8 @@
 #!/bin/bash
 
-a_dir=$(dirname $0)
+source env.sh
+source ${TOOLS_DIR}/env_standalone.sh
 
-cd ${a_dir}
+APP=${NEWGEOM_ROOT_DIR}/bin/GeomApp
 
-source ${a_dir}/env.sh
-source ${a_dir}/env_standalone.sh
-
-if [ -f GDB ]; then
-  ${INSTALL_DIR}/bin/GeomApp &
-  APP_PID=$!
-  echo "Connect GDB to PID ${APP_PID}"
-  gdb --command=commands.gdb - ${APP_PID}
-else
-  ${INSTALL_DIR}/bin/GeomApp
-fi
+${APP}