tools/dbtest-*: fix shellcheck complaints

This commit is contained in:
Florian Schüller 2024-10-23 15:22:26 +02:00 committed by Florian Schüller
parent 007f2989d3
commit f291f41dbc
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
pushd $(mktemp -d)
pushd "$(mktemp -d)" || exit 1
go mod init temp
go install github.com/jackc/tern@latest
popd
popd || exit

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
WORKDIR=$(readlink -f pkg/jobqueue/dbjobqueue/schemas)
$(go env GOPATH)/bin/tern migrate -m "$WORKDIR"
"$(go env GOPATH)"/bin/tern migrate -m "$WORKDIR"