Skip to content

Commit 4f0fa7e

Browse files
author
Noah Gorny
authored
Merge pull request #1862 from NoahGorny/fix-install-error
install: Dont quote number vars, to support older bash versions
2 parents e06066c + a8b4362 commit 4f0fa7e

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)