Revert "Merge staging at '8d490ca9934d0' into master"
This reverts commitfc23242220, reversing changes made to754816b84b. We don't have many binaries yet. Comment on the original merge commit.
This commit is contained in:
@@ -25,11 +25,7 @@ mangleVarBool() {
|
||||
for infix in "${role_infixes[@]}"; do
|
||||
local inputVar="${var/+/${infix}}"
|
||||
if [ -v "$inputVar" ]; then
|
||||
# "1" in the end makes `let` return success error code when
|
||||
# expression itself evaluates to zero.
|
||||
# We don't use `|| true` because that would silence actual
|
||||
# syntax errors from bad variable values.
|
||||
let "${outputVar} |= ${!inputVar:-0}" "1"
|
||||
let "${outputVar} |= ${!inputVar}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user