# vim: ft=zsh noet local -a cmd if [[ -o xtrace ]]; then cmd=( zsh -x $build_dir/chroot.sh /bin/bash --login -x ) else cmd=( $build_dir/chroot.sh /bin/bash --login ) fi cmd+=( -c "${(j: :)${(q)@}}" ) "${cmd[@]}"