Skip to content

Commit 38ddfca

Browse files
committed
Buildkite: fix shellcheck on setup-db-archive-node
1 parent adbef16 commit 38ddfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildkite/scripts/setup-database-for-archive-node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ sudo service postgresql start
1212
sudo -u postgres psql -c "CREATE USER ${user} WITH LOGIN SUPERUSER PASSWORD '${password}';"
1313
sudo pg_isready
1414
service postgresql status
15-
sudo -u postgres createdb -O $user $db
16-
PGPASSWORD=$password psql -h localhost -p $port -U $user -d $db -a -f src/app/archive/create_schema.sql
15+
sudo -u postgres createdb -O "${user}" "${db}"
16+
PGPASSWORD="${password}" psql -h localhost -p "${port}" -U "${user}" -d "${db}" -a -f src/app/archive/create_schema.sql

0 commit comments

Comments
 (0)