awips2/cave/com.raytheon.viz.gfe/GFESuite/runProcedure
David Friedman 2121ce36d7 ASM #13849 - Use a unique Eclipse configuration directory for each CAVE/AlertViz instance
Change-Id: I98cd38b2ada1197511861841b07caf943438cfd3

Former-commit-id: 349b4665855bed697948aadb8fba23a2a761c83f
2015-07-23 21:03:06 +00:00

22 lines
506 B
Bash
Executable file

#!/bin/sh
# get path to cave
path_to_script=`readlink -f $0`
RUN_FROM_DIR=`dirname $path_to_script`
# cave directory
CAVE_DIR=/awips2/cave
# execute the runProcedure module
_GFECLI="${RUN_FROM_DIR}/gfeclient.sh"
_MODULE="${RUN_FROM_DIR}/src/runprocedure/runProcedure.py"
# quoting of '$@' is used to prevent command line interpretation
if [ ! -f $_GFECLI ] || [ ! -d $CAVE_DIR ]
then
echo "CAVE and/or gfeclient not installed on this workstation ..exiting"
exit 1
else
$_GFECLI $_MODULE "$@"
fi