Merge pull request #1862 from NoahGorny/fix-install-error
install: Dont quote number vars, to support older bash versionspull/1869/head
commit
4f0fa7ebe7
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue