eval $(getvars build_dir changes_dir work_dir) local -a mount_opts mount_opts=( lowerdir=${1//=/\\=} upperdir=${changes_dir//=/\\=} workdir=${work_dir//=/\\=} ) printf '%s\n' "overlay ${build_dir:A} overlay ${(j:,:)mount_opts} 0 0" # vim: fileencoding=utf8 ft=zsh noet sw=4 ts=4 sts=4