From eb58a4b1666968b8c619106c1556bce0c676a7e3 Mon Sep 17 00:00:00 2001 From: jaysunxiao Date: Thu, 5 Aug 2021 11:23:46 +0800 Subject: [PATCH] =?UTF-8?q?perf[deploy]:=20=E4=B8=BA=E4=BA=86=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E4=B8=80=E4=BA=9B=E9=83=A8=E7=BD=B2=E7=9A=84=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=EF=BC=8C=E6=AF=8F=E6=AC=A1=E6=89=A7=E8=A1=8C=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E9=83=BD=E6=9B=B4=E6=96=B0=E4=B8=80=E4=B8=8B=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 3 +++ 1 file changed, 3 insertions(+) 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