This commit is contained in:
zhangkun9038@dingtalk.com 2022-10-08 08:39:37 +00:00
parent 2226c05195
commit fe7ff51232

View File

@ -8,6 +8,10 @@ fileName=$2
projectName="${fileName%.*}" projectName="${fileName%.*}"
basePath=/tmp/autoDeploy basePath=/tmp/autoDeploy
if [ -n $3 ]; then
basePath=$3
fi
function compare(){ function compare(){
cd $basePath cd $basePath
if [ ! -f ${projectName}_oss.info ]; then if [ ! -f ${projectName}_oss.info ]; then