confz

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

commit 04fc8ca66b509661f78034f6b108e24b6cc5794e
parent aa35be9f5c22a72455c2825497be1e75677bc74e
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Sat, 28 Jun 2014 06:34:18 +0200

fix variable name
Diffstat:
Mzsh-functions/confz_postgresql_init | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh-functions/confz_postgresql_init b/zsh-functions/confz_postgresql_init @@ -84,7 +84,7 @@ confz_postgresql_db_check() { fi local out name owner encoding rest - out=$( $psql $opts -lAP tuples_only=on ) || die "psql failed" + out=$( $vars[psql] $opts -lAP tuples_only=on ) || die "psql failed" while IFS='|' read name owner encoding rest; do if [[ $name == $vars[db] ]]; then [[ $owner == $vars[owner] ]] || \