array of util names are read only now

This commit is contained in:
Andrej 2019-10-25 14:23:15 +02:00 committed by GitHub
parent 5cf8feee53
commit c8ad2fba84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ _theme="${_MENU_THEME:=default}"
################################################################################
function checkUtils() {
local -r msg="not found. Please make sure this is installed and in PATH."
declare -a utils=("awk" "basename" "cat" "column" "echo" "git" "grep" "head"
declare -ar utils=("awk" "basename" "cat" "column" "echo" "git" "grep" "head"
"seq" "sort" "tput" "tr" "uniq" "wc")
for u in "${utils[@]}"