Former-commit-id:8072752c77
[formerly4c6ff79e71
] [formerly8347bed50e
[formerly dd6304e82206bb46b0c0442d15ab5d9312d9f19f]] Former-commit-id:8347bed50e
Former-commit-id:b35027f661
18 lines
472 B
Bash
Executable file
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 $@
|