Skip to content

Commit

Permalink
tools/dbtest-*: fix shellcheck complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
schuellerf committed Nov 6, 2024
1 parent 007f298 commit f291f41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/dbtest-prepare-env.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tools/dbtest-run-migrations.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit f291f41

Please sign in to comment.