Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
22 lines
499 B
Bash
Executable file
22 lines
499 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="${CAVE_DIR}/etc/gfe/itool/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
|
|
|