postgres-init-db: Don't hardcode LOCAL_DATABASE_PASSWORD.

(imported from commit e2cf6c6c0abb688c77661e4849e7b574b4222e68)
This commit is contained in:
Tim Abbott 2013-11-12 09:26:06 -05:00
parent 2bc4e14a72
commit 03bf4ba423
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ fi
if [[ $# == 0 ]]; then if [[ $# == 0 ]]; then
USERNAME=zulip USERNAME=zulip
PASSWORD=xxxxxxxxxxxx PASSWORD=$($(dirname $0)/../../bin/get-django-setting LOCAL_DATABASE_PASSWORD)
DBNAME=zulip DBNAME=zulip
SEARCH_PATH="$USERNAME",public SEARCH_PATH="$USERNAME",public
elif [[ $# == 4 ]]; then elif [[ $# == 4 ]]; then