Nižšie je moja výpis zo zlyhania časť:
if [[ -n "${war_to_be_deployed-}" ]] ; then
[[ "${#runtime_args[@]-}" == "${#expected_runtime_args[@]-}" ]] || _fatal "Failed runtime_args"
for ((i=0 ; i<${#runtime_args[@]-} ; ++i)); do
hodí pod chyba na bash GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
. Čo je to, že robím nesprávne tu ? ďakujem.
${#runtime_args[@]-}: bad substitution