From fe7ff51232f8befcffde7f06d57880e50d361bc9 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Sat, 8 Oct 2022 08:39:37 +0000 Subject: [PATCH] update --- ossUpgrade.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ossUpgrade.sh b/ossUpgrade.sh index 5dae803..e59c6b4 100755 --- a/ossUpgrade.sh +++ b/ossUpgrade.sh @@ -8,6 +8,10 @@ fileName=$2 projectName="${fileName%.*}" basePath=/tmp/autoDeploy +if [ -n $3 ]; then + basePath=$3 +fi + function compare(){ cd $basePath if [ ! -f ${projectName}_oss.info ]; then