Преглед на файлове

Merge branch 'feature/SO-8_DevOps3' of serset/Sers into release/2.1.24

LithWang преди 1 година
родител
ревизия
15c4a68125
променени са 1 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 7 7
      Publish/DevOps3/release-bash/startup.bash

+ 7 - 7
Publish/DevOps3/release-bash/startup.bash

@@ -20,11 +20,11 @@ export NUGET_KEY=xxxxxxxxxx
 
 #----------------------------------------------
 # cur path
-curPath=$PWD
+curPath="$PWD"
 
-cd $curPath/../../..
-export basePath=$PWD
-cd $curPath
+cd "$curPath/../../.."
+export basePath="$PWD"
+cd "$curPath"
 
 # export basePath=/root/temp/svn
 
@@ -32,7 +32,7 @@ cd $curPath
 
 #----------------------------------------------
 echo "#1 get appVersion"
-cd $basePath/Publish/DevOps2/build-bash; source 19.get-app-version.bash;
+cd "$curPath/../build-bash"; source 19.get-app-version.bash;
 
 
 
@@ -46,11 +46,11 @@ for file in *.sh
 do
     echo "-----------------------------------------------------------------"
     echo "[$(date "+%H:%M:%S")] sh $file"
-    sh $file
+    sh "$file"
 done
 
 
-
+cd "$curPath"