From e2818244680b2dd401bc0edb4e99e8dbf717aa11 Mon Sep 17 00:00:00 2001 From: xz Date: Thu, 22 Oct 2026 20:31:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tr=E8=AF=BB=E5=8F=96=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maibot_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maibot_install.sh b/maibot_install.sh index cb974e8..cee73a3 100644 --- a/maibot_install.sh +++ b/maibot_install.sh @@ -7,7 +7,7 @@ echo " read -p "Y/n: " flag if [ -z "$flag" ]; then echo "===Start===" -elif [ "$(tr [:upper:] [:lower:]) \"$flag\"" == "y" ]; then +elif [ "$(printf "%s" \"$flag\" | tr [:upper:] [:lower:])" == "y" ]; then echo "===Start===" else exit 0