From 10759087d44969ad3a4b7531ddb8684e39b9d390 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Sat, 12 Jun 2021 23:33:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20path=3D<>=20=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=9B=BA=E4=BB=B6=E4=BF=9D=E5=AD=98=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoUpdate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index 8a7e8ce..2c94721 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -303,9 +303,9 @@ PREPARE_UPGRADES() { unset Proxy_Echo } [[ $1 =~ path= ]] && { - [ -z "$(echo ${Z} | cut -d "=" -f2)" ] && TIME r "保存路径不能为空!" && exit 1 - FW_SAVE_PATH=$(echo ${Z} | cut -d "=" -f2) - TIME g "使用自定义固件保存位置: ${FW_SAVE_PATH}" + [ -z "$(echo $1 | cut -d "=" -f2)" ] && TIME r "固件保存目录不能为空!" && exit 1 + FW_SAVE_PATH=$(echo $1 | cut -d "=" -f2) + TIME g "自定义固件保存位置: ${FW_SAVE_PATH}" } [[ $1 == -F || $1 == --force ]] && Force_Write=1 case $1 in