Skip to content

depot: prevent unbound variable error when using empty arrays

Ludovico de Nittis requested to merge wip/denittis/t23654 into master

Previously to Bash 4.4, using ${container_args[@]} was an error if container_args was an empty array.

With this fix we expand to the array elements only if the array is not empty. (Fixes: T23654)

/cc @smcv

Merge request reports

Loading