aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-09-07 09:30:52 +0200
committerMartin Polden <mpolden@mpolden.no>2021-09-07 09:31:12 +0200
commitecb594e50d816e488e0d1bb057228d85ac5cb0b3 (patch)
tree3db95ed826f5a5ba7d913d1b65ee2ee61e219476 /client/go/Makefile
parent3484024d25aa6fb116c2b1958e252c15f3227db4 (diff)
Always install relative to Makefile
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 abda68427e4..40f0a4aaf0e 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -7,7 +7,7 @@ all: test checkfmt install
VERSION ?= $(shell echo "0.0.0-`git rev-parse --short HEAD`")
install:
- env GOBIN=$(PWD)/bin \
+ env GOBIN=$(CURDIR)/bin \
go install -ldflags "-X github.com/vespa-engine/vespa/client/go/build.Version=$(VERSION)" ./...
test: