From a8b43620f8735e316cf52fc44cff050ba6f80f03 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Wed, 31 Mar 2021 23:43:13 +0300 Subject: [PATCH] install: Dont quote number vars, to support older bash versions --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1dac7b71..4940360f 100755 --- a/install.sh +++ b/install.sh @@ -171,7 +171,8 @@ while getopts "hsinaf" opt; do ;; esac done -shift $(("$OPTIND" - 1)) + +shift $((OPTIND - 1)) if [[ $silent ]] && [[ $interactive ]]; then echo -e "\033[91mOptions --silent and --interactive are mutually exclusive. Please choose one or the other.\033[m"