将脚本执行都换成绝对路径
This commit is contained in:
parent
e563b33517
commit
134963d530
2
Run.sh
2
Run.sh
@ -25,7 +25,7 @@ echo "======Linux工具箱======"
|
||||
read -p "请输入要使用的功能:" pick
|
||||
if [[ "${pick}" -gt 0 && "${pick}" -le "${#pick_array[*]}" ]];then
|
||||
clear
|
||||
bash "${path_script}/Menus/${pick_array[$pick]}.sh ${path_script}"
|
||||
bash "${path_script}/Menus/${pick_array[$pick]}.sh" "$path_script"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user