confz

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

commit 246962a54544261702a3143bf415f0334be5bbdb
parent 89ca0bf3494ff0f4f50367345e721d3292771528
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Sat, 28 Jun 2014 07:07:59 +0200

fix variable name
Diffstat:
Mzsh-functions/confz_postgresql_init | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zsh-functions/confz_postgresql_init b/zsh-functions/confz_postgresql_init @@ -150,9 +150,9 @@ confz_postgresql_schema_check() { if [[ -z $out ]]; then fail_reason="the schema for ${(qqq)db} is empty" return 1 - elif [[ $out != $schema ]]; then + elif [[ $out != $vars[schema] ]]; then die "the schema for ${(qqq)db} differs:"$'\n'$( \ - diff -u <(print -r - $schema) <(print -r - $out) ) + diff -u <(print -r - $vars[schema]) <(print -r - $out) ) fi return 0 }