Former-commit-id:82dec19b6a
[formerlybd95bb6a4e
] [formerly99e3707c5b
[formerly 0cda967cc9da9d2a08a0197db23d48c65f03be81]] Former-commit-id:99e3707c5b
Former-commit-id:7590a56e0e
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 $@
|