fix: revert removal of eval for shell commands

Fixes: #1434
This commit is contained in:
Kyle Robbertze 2021-11-09 14:11:19 +02:00 committed by Jonas L
parent 4057c88cf0
commit 959e001edd
1 changed files with 5 additions and 2 deletions

View File

@ -110,9 +110,12 @@ function loud() {
function loudCmd() {
if [[ ${_q} -eq 0 ]]; then
verbose "$@"
"$@"
# Disable the shellcheck until quoting can be corrected
# shellcheck disable=2294
eval "$@"
else
"$@" > /dev/null
# shellcheck disable=2294
eval "$@" > /dev/null
fi
}