diff --git a/deploy.sh b/deploy.sh index 6d1b0afa..c45d3478 100644 --- a/deploy.sh +++ b/deploy.sh @@ -35,6 +35,9 @@ fi command=${1} +# 为了避免一些部署的异常,每次执行脚本都更新一下环境变量 +source /etc/profile + function waitAllProcessesExit() { while true; do local runningProcesses