From 09fe29e559c78cbea8acfa427ff468bee936f405 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Thu, 19 Oct 2023 10:52:34 +0200 Subject: [PATCH] Fix mac os script --- infra/dev/scripts/setup-postgres-macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/dev/scripts/setup-postgres-macos.sh b/infra/dev/scripts/setup-postgres-macos.sh index 3d15484cf..a0162c9d4 100755 --- a/infra/dev/scripts/setup-postgres-macos.sh +++ b/infra/dev/scripts/setup-postgres-macos.sh @@ -105,4 +105,4 @@ fi # Run the init.sql to setup database echo_header $GREEN "Step [4/4]: Setting up database..." cp ./infra/dev/postgres/init.sql /tmp/init.sql -psql -f /tmp/init.sql || handle_error "Failed to execute init.sql script." +psql -f /tmp/init.sql -d postgres|| handle_error "Failed to execute init.sql script."