添加test配置文件名

This commit is contained in:
walker 2024-02-04 14:32:36 +08:00
parent 537f372d1a
commit 1ed74667b1

View File

@ -7,7 +7,7 @@ if [ -z $CONFIG ]; then
exit 1 exit 1
fi fi
CONFIG_ARR=("bj_local" "dev" "local" "test_local") CONFIG_ARR=("bj_local" "dev" "local" "test_local" "test")
if [[ ! " ${CONFIG_ARR[@]} " =~ " ${CONFIG} " ]]; then if [[ ! " ${CONFIG_ARR[@]} " =~ " ${CONFIG} " ]]; then
echo "Unknown config file name. Usage: $0 <config file name>" echo "Unknown config file name. Usage: $0 <config file name>"
exit 1 exit 1