From c8ad2fba842ddf7452cc250eff5fda7cafaebc41 Mon Sep 17 00:00:00 2001 From: Andrej Date: Fri, 25 Oct 2019 14:23:15 +0200 Subject: [PATCH] array of util names are read only now --- git-quick-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-quick-stats b/git-quick-stats index 51a7ccf..3d2180a 100755 --- a/git-quick-stats +++ b/git-quick-stats @@ -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[@]}"