mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 78cf9ab63f19890b61b44b504c47c7cd7cfe3473
parent da01a9eab9b8ec9f082003a2e9699181d85ecedc
Author: Jan Pobříslo <ccx@te2000.cz>
Date:   Thu, 25 Nov 2021 23:11:29 +0000

Fix assignment of container_template dir
Diffstat:
Mzsh-functions/confz_containers_init | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init @@ -402,10 +402,11 @@ confz_container_service_xsession_check() { # --- new image constructor () { - local f + local f d for f in $^fpath/confz_containers_init*(N); do - if [[ -d $f:A:h:h/container_template ]]; then - typeset -g container_template_dir=$f:h/container_template + d=$f:A:h:h/container_template + if [[ -d $d ]]; then + typeset -g container_template_dir=$d break fi done