Skip to content

Commit a8b4362

Browse files
author
Noah Gorny
committed
install: Dont quote number vars, to support older bash versions
1 parent 4860fb8 commit a8b4362

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ while getopts "hsinaf" opt; do
171171
;;
172172
esac
173173
done
174-
shift $(("$OPTIND" - 1))
174+
175+
shift $((OPTIND - 1))
175176

176177
if [[ $silent ]] && [[ $interactive ]]; then
177178
echo -e "\033[91mOptions --silent and --interactive are mutually exclusive. Please choose one or the other.\033[m"

0 commit comments

Comments
 (0)