Another reordering of psql arguments for FreeBSD support.

This commit is contained in:
Andrew McMillan 2008-07-24 10:24:16 +12:00
parent 77a82ede85
commit e9a04869fd

View File

@ -68,7 +68,7 @@ create_db_user "${AWL_DBAUSER}"
create_db_user "${AWL_APPUSER}"
# FIXME: Need to check that the database was actually created.
if ! createdb --encoding UTF8 "${DBNAME}" --template template0 --owner "${AWL_DBAUSER}"; then
if ! createdb --encoding UTF8 --template template0 --owner "${AWL_DBAUSER}" "${DBNAME}" ; then
echo "Unable to create database"
exit 1
fi