Browse Source

01wms83-test.sh

lizw 2 years ago
parent
commit
2455bb7401
1 changed files with 3 additions and 3 deletions
  1. 3 3
      05shengke/01wms83-test.sh

+ 3 - 3
05shengke/01wms83-test.sh

@@ -164,7 +164,7 @@ deployServer() {
   start=$2
   deployPull
   buildCode
-  echo "###--代码构建完成--------------------------------------------------------------------------### ($pid)"
+  echo "###--代码构建完成--------------------------------------------------------------------------###"
   # 停止服务
   if [ ! -z $pid ];then
     stopServer $pid
@@ -212,10 +212,10 @@ if [ "$cmd" == "pull" ];then
   fi
 elif [ "$cmd" == "build" ];then
   deployYvanUI
-  deployServer $pid "no_start"
+  deployServer "$pid" "no_start"
 elif [ "$cmd" == "deploy" ];then
   deployYvanUI
-  deployServer $pid "start"
+  deployServer "$pid" "start"
 elif [ "$cmd" == "restart" ];then
   restartServer $pid
 elif [ "$cmd" == "start" ];then