diff --git a/tool/ssaudit b/tool/ssaudit index 1d479bd..6fe7a38 100755 --- a/tool/ssaudit +++ b/tool/ssaudit @@ -27,7 +27,7 @@ fi DEBPATH=`realpath $1` echo ------------------------------------------------------------ -try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $1) +try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $DEBPATH) try_run_ret="$?" if [ "$try_run_ret" -ne 0 ];then exit $try_run_ret diff --git a/tool/ssinstall b/tool/ssinstall index 5bda13b..71dc5b2 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -92,7 +92,7 @@ if [ ! -z "$IS_MD5SUM_CHECKD" ];then echo "校验成功,开始安装" echo ---------------------------------------------------------------------------------- -try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $1) +try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH") try_run_ret="$?" if [ "$try_run_ret" -ne 0 ];then exit $try_run_ret