Skip to content

Commit 466ab2d

Browse files
committed
It must be an absolute path in gotools/Makefile
This fixes #FAB-2950 while doing "make gotools", I get an err which is that "cannot install, GOBIN must be an absolute path." The path should be an abspath path. Change-Id: I86e42e3f6617d664ea4ba20601f5fb87553f027c Signed-off-by: hanwei <[email protected]>
1 parent 3b48c41 commit 466ab2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gotools/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BINDIR ?= /usr/local/bin
1616
OBJDIR ?= build
1717

1818
TMP_GOPATH=$(OBJDIR)/gopath
19-
GOBIN=$(TMP_GOPATH)/bin
19+
GOBIN=$(abspath $(TMP_GOPATH)/bin)
2020

2121
GOTOOLS = golint govendor goimports protoc-gen-go ginkgo gocov gocov-xml
2222
GOTOOLS_BIN = $(patsubst %,$(GOBIN)/%, $(GOTOOLS))

0 commit comments

Comments
 (0)