diff --git a/scripts/setup/postgres-init-db b/scripts/setup/postgres-init-db index 110cf7a543..88432d93dc 100755 --- a/scripts/setup/postgres-init-db +++ b/scripts/setup/postgres-init-db @@ -1,5 +1,8 @@ #!/bin/sh -xe +# Make sure the current working directory is readable +cd / + su postgres -c psql <