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