diff --git a/ci/scripts/build-linux.sh b/ci/scripts/build-linux.sh index ce2db2a5..c03e178c 100755 --- a/ci/scripts/build-linux.sh +++ b/ci/scripts/build-linux.sh @@ -94,5 +94,7 @@ function cleanup_environment() { # Chown to postgres for running tests chown -R postgres:postgres /tmp/lantern - chown -R postgres:postgres /tmp/pgvector + if [ -d /tmp/pgvector ]; then + chown -R postgres:postgres /tmp/pgvector + fi }