We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7250c77 commit 621ec6bCopy full SHA for 621ec6b
build.sh
@@ -299,7 +299,8 @@ check_bool() {
299
for _variable in "${@}"; do
300
msg_debug -n "Checking ${_variable}..."
301
eval ": \${${_variable}:=''}"
302
- _value="$(eval echo "\$${_variable}")"
+ _value="$(eval echo "\${${_variable},,}")"
303
+ eval "${_variable}=${_value}"
304
if [[ ! -v "${1}" ]] || [[ "${_value}" = "" ]]; then
305
[[ "${debug}" = true ]] && echo ; msg_error "The variable name ${_variable} is empty." "1"
306
elif [[ ! "${_value}" = "true" ]] && [[ ! "${_value}" = "false" ]]; then
0 commit comments