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
fi
done
args=("$@")
}
function dispatchToExtern() {
local cmdName=
local cmdName= args=()
buildExternCommandName "$@" || return $?
$cmdName "$@"
$cmdName "${args[@]}"
}
function dispatchCommand() {