awips2/nativeLib/files.native/adapt/climate/bin/Linux/_main.sh
Steve Harris ff7a21ac37 13.4.1-7 baseline
Former-commit-id: 8072752c77 [formerly 4c6ff79e71] [formerly 8347bed50e [formerly dd6304e82206bb46b0c0442d15ab5d9312d9f19f]]
Former-commit-id: 8347bed50e
Former-commit-id: b35027f661
2013-05-13 12:58:10 -04:00

18 lines
472 B
Bash
Executable file

#!/bin/bash
# calls into the main routines in the adappt.climate.ui library
# create links to this script with the appropriate name for each
# main routine
program_name=$(basename $0)
script_dir=$(cd $(dirname $0);pwd)
# set the appropriate environment variables
. $script_dir/set_climate_env.sh
# the climate apps assume the cwd is the data dir
cd $CLIMATE_DATA_DIR
# call into the library to launch the program
runso rary.adappt.climate.ui ${program_name}_main $@