Quellcode durchsuchen

一心堂成都生产环境

lizw vor 3 Jahren
Ursprung
Commit
529ea53091
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      yxt-cd/deploy-lims.sh

+ 2 - 2
yxt-cd/deploy-lims.sh

@@ -29,8 +29,8 @@ pullCode() {
   isChange="1"
   # 创建文件夹
   if [ ! -d "$path" ]; then
-    echo -e "$echoPrefix mkdir -p $path $echoSuffix"
-    mkdir -p $path
+    echo -e "$echoPrefix 请检查服务器是否正确, mkdir -p $path $echoSuffix"
+    exit
   fi
 
   # git clone