fix:增加文件不存在时的提示
This commit is contained in:
parent
a07900cece
commit
6ddd63990f
2
build.sh
2
build.sh
@ -148,7 +148,7 @@ function init(){
|
|||||||
if [ -f "${BASE_DIR}/build/config/settings.yml" ];then
|
if [ -f "${BASE_DIR}/build/config/settings.yml" ];then
|
||||||
CONFIG_FILE=${BASE_DIR}/build/config/settings.yml
|
CONFIG_FILE=${BASE_DIR}/build/config/settings.yml
|
||||||
else
|
else
|
||||||
echo_red "配置文件不存在,请检查配置文件是否存在。"
|
echo_red "配置文件 ${BASE_DIR}/build/config/settings.yml 不存在,请检查。"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo_done
|
echo_done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user