Skip to content

Commit

Permalink
check if pgvector directory exists before running chown in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Sep 30, 2024
1 parent 4b3eec3 commit aa05f66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/scripts/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit aa05f66

Please sign in to comment.