From 03bf4ba4232ea4046fb82341e17b1c42630f9903 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 12 Nov 2013 09:26:06 -0500 Subject: [PATCH] postgres-init-db: Don't hardcode LOCAL_DATABASE_PASSWORD. (imported from commit e2cf6c6c0abb688c77661e4849e7b574b4222e68) --- scripts/setup/postgres-init-db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/postgres-init-db b/scripts/setup/postgres-init-db index b4009e7047..a15fa3e13a 100755 --- a/scripts/setup/postgres-init-db +++ b/scripts/setup/postgres-init-db @@ -9,7 +9,7 @@ fi if [[ $# == 0 ]]; then USERNAME=zulip - PASSWORD=xxxxxxxxxxxx + PASSWORD=$($(dirname $0)/../../bin/get-django-setting LOCAL_DATABASE_PASSWORD) DBNAME=zulip SEARCH_PATH="$USERNAME",public elif [[ $# == 4 ]]; then