awips2/cave/com.raytheon.viz.gfe/GFESuite/runProcedure
David Gillingham b8c1bc39f6 Issue #2033: Move GFE-specific localization files and other misc. code out of
build.cave project and into viz.gfe project.

Change-Id: Ic51275064f92a9cf50a15c2fff647b73f0839375

Former-commit-id: cdb1ad6eee96d2b61d35d7d5d727336128827a1b
2013-09-16 12:50:04 -05: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