summaryrefslogtreecommitdiffstats
path: root/client/go/Makefile
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-05-08 11:43:00 +0200
committerGitHub <noreply@github.com>2023-05-08 11:43:00 +0200
commit42039d0ed1e2aa878c02072b7db885120d1a80b1 (patch)
treeb0b5076044338b14c6d5ddc134b952fdc8f63e21 /client/go/Makefile
parentd67211da2badefd4d88e04ae5164127b14d58967 (diff)
Revert "Do not override TMPDIR"
Diffstat (limited to 'client/go/Makefile')
-rw-r--r--client/go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index d3f4351d62f..c70154eb247 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -131,7 +131,7 @@ clean:
rmdir -p $(BIN) $(SHARE)/man/man1 > /dev/null 2>&1 || true
test: ci
- go test ./...
+ mkdir -p $(CURDIR)/tmp && TMPDIR=$(CURDIR)/tmp go test ./...
checkfmt:
@sh -c "test -z $$(gofmt -l .)" || { echo "one or more files need to be formatted: try make fmt to fix this automatically"; exit 1; }