X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=linux_run.sh;h=aad0cde3e4ce2df46d450b10b390dc5519fc5aa8;hb=c3c00a15849bc9113fabe42e42e3fc40bd878f79;hp=2afb8078b1ca38d1efd8d92fb773ab8a10f0b8da;hpb=48354c2235e288d023931e2afbf37eec7e6b61f6;p=modules%2Fshaper.git diff --git a/linux_run.sh b/linux_run.sh index 2afb8078b..aad0cde3e 100755 --- a/linux_run.sh +++ b/linux_run.sh @@ -1,17 +1,10 @@ #!/bin/bash -a_dir=$(dirname $0) +source env.sh +source ${TOOLS_DIR}/env_standalone.sh -cd ${a_dir} +${TOOLS_DIR}/solver.sh "$@" -source ${a_dir}/env.sh -source ${a_dir}/env_standalone.sh +APP=${SHAPER_ROOT_DIR}/bin/GeomApp -if [ -f GDB ]; then - ${INSTALL_DIR}/bin/GeomApp & - APP_PID=$! - echo "Connecting GDB to PID ${APP_PID}..." - gdb --command=./commands.gdb - ${APP_PID} -else - ${INSTALL_DIR}/bin/GeomApp -fi +${APP}