Fix logical error when passing args to azw command

This commit is contained in:
T. R. Bernstein
2024-07-03 04:02:52 +02:00
committed by T. R. Bernstein
parent ef2b50586f
commit 33bf455a0b

View File

@@ -13,12 +13,13 @@ function buildExternCommandName() {
return 10 return 10
fi fi
done done
args=("$@")
} }
function dispatchToExtern() { function dispatchToExtern() {
local cmdName= local cmdName= args=()
buildExternCommandName "$@" || return $? buildExternCommandName "$@" || return $?
$cmdName "$@" $cmdName "${args[@]}"
} }
function dispatchCommand() { function dispatchCommand() {