Fix logical error when passing args to azw command
This commit is contained in:
committed by
T. R. Bernstein
parent
ef2b50586f
commit
33bf455a0b
5
bin/azw
5
bin/azw
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user