confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

commit 96df8713b2125769b16eece5919329ba54828568
parent a741fc30fbe9c269a6d5d5a936c6c1a8e3964ced
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Mon, 20 Nov 2017 19:08:14 +0100

Fix the bin/confzfoo=bar behaviour to match the comments.
Diffstat:
Mbin/confz | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/confz b/bin/confz @@ -199,7 +199,7 @@ require() { vars=( "${(@kv)vars_local}" ) # lift %variables from calee to caller - for outer inner in ${(kv)lift}; do + for inner outer in ${(kv)lift}; do ((${+vars_prev[$inner]})) || \ die "variable ${(qqq)inner} not set, was requested by caller as ${(qqq)outer}" setvar $outer ${vars_prev[$inner]}