参数传错了

This commit is contained in:
shenmo 2023-03-09 22:58:05 +08:00
parent 13d6965558
commit ab707c8c2b
2 changed files with 2 additions and 2 deletions

@ -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 $2)
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $1)
try_run_ret="$?"
if [ "$try_run_ret" -ne 0 ];then
exit $try_run_ret

@ -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 $2)
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $1)
try_run_ret="$?"
if [ "$try_run_ret" -ne 0 ];then
exit $try_run_ret