将所有调用文件的菜单文件名替换
This commit is contained in:
parent
de69bb307a
commit
69296c2bec
@ -6,8 +6,8 @@ declare -a print_arr
|
|||||||
declare pick
|
declare pick
|
||||||
for i in "${path_script}/Config/${file_name}"/* ; do
|
for i in "${path_script}/Config/${file_name}"/* ; do
|
||||||
print_number=$(( print_number+1 ))
|
print_number=$(( print_number+1 ))
|
||||||
print_arr[$print_number]=$(basename $i)
|
print_arr[$print_number]=$(basename $i .sh)
|
||||||
echo "${print_number}.${i}"
|
echo "${print_number}.${print_arr[$print_number]}"
|
||||||
done
|
done
|
||||||
echo "输入其他任意返回主页"
|
echo "输入其他任意返回主页"
|
||||||
echo "========Other========"
|
echo "========Other========"
|
||||||
|
Loading…
Reference in New Issue
Block a user