tools/dbtest-*: fix shellcheck complaints
This commit is contained in:
parent
007f2989d3
commit
f291f41dbc
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
pushd $(mktemp -d)
|
pushd "$(mktemp -d)" || exit 1
|
||||||
go mod init temp
|
go mod init temp
|
||||||
go install github.com/jackc/tern@latest
|
go install github.com/jackc/tern@latest
|
||||||
popd
|
popd || exit
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
WORKDIR=$(readlink -f pkg/jobqueue/dbjobqueue/schemas)
|
WORKDIR=$(readlink -f pkg/jobqueue/dbjobqueue/schemas)
|
||||||
$(go env GOPATH)/bin/tern migrate -m "$WORKDIR"
|
"$(go env GOPATH)"/bin/tern migrate -m "$WORKDIR"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue