From 69296c2bec15d0205bafa579353bef3743481402 Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 23 Sep 2024 16:54:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=89=80=E6=9C=89=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9A=84=E8=8F=9C=E5=8D=95=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Other.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Menus/Other.sh b/Menus/Other.sh index eb59b88..35b4420 100644 --- a/Menus/Other.sh +++ b/Menus/Other.sh @@ -6,8 +6,8 @@ declare -a print_arr declare pick for i in "${path_script}/Config/${file_name}"/* ; do print_number=$(( print_number+1 )) - print_arr[$print_number]=$(basename $i) - echo "${print_number}.${i}" + print_arr[$print_number]=$(basename $i .sh) + echo "${print_number}.${print_arr[$print_number]}" done echo "输入其他任意返回主页" echo "========Other========"