Project

General

Profile

« Previous | Next » 

Revision 11365

bugfix: lib/sh/local.sh: psql(): $is_root: use `` around case statement instead of $(), because it contains an embedded unbalanced )

View differences:

lib/sh/local.sh
65 65
	local dir="${dir:-$top_dir}"
66 66
	mk_schema_esc
67 67
	mk_table_esc
68
	local is_root="$(case "$USER" in *postgres) echo 1;; esac)"
68
	local is_root="`case "$USER" in *postgres) echo 1;; esac`"
69 69
		echo_vars is_root
70 70
	
71 71
	if test ! "$is_root"; then use_local; fi

Also available in: Unified diff