You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
815 B
Bash
22 lines
815 B
Bash
#!/usr/bin/env bash
|
|
|
|
RUN_PATH="$(cd "`dirname "$0"`" && pwd)/../framework/shells"
|
|
os_type=`uname`
|
|
if [ $os_type == "Darwin" ]; then
|
|
case ${1} in
|
|
boels) ${RUN_PATH}/run_mac -p boe -e dev -t ls -d login.dbconf;;
|
|
boems) ${RUN_PATH}/run_mac -p boe -e dev -t ms -d global.dbconf;;
|
|
boews) ${RUN_PATH}/run_mac -p boe -e dev -t ws -d web.dbconf;;
|
|
boegs) ${RUN_PATH}/run_mac -p boe -e dev -t gs -d game.dbconf;;
|
|
boerw) ${RUN_PATH}/run_mac -p boe -e dev -t gs -d game.dbconf_rw;;
|
|
boecp) ${RUN_PATH}/run_mac -p boe -e dev -t gs -d game.dbconf_cp;;
|
|
boede) ${RUN_PATH}/run_mac -p boe -e dev -t gs -d game.dbconf_de;;
|
|
*) echo "param error";exit 1;;
|
|
esac
|
|
elif [ $os_type == "Linux" ];then
|
|
${RUN_PATH}/run_linux $@
|
|
else
|
|
echo "env error"
|
|
exit 1
|
|
fi
|