Skip to content

Commit

Permalink
It must be an absolute path in gotools/Makefile
Browse files Browse the repository at this point in the history
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 <499349274@qq.com>
  • Loading branch information
hanwei1990 committed Apr 1, 2017
1 parent 3b48c41 commit 466ab2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotools/Makefile
Expand Up @@ -16,7 +16,7 @@ BINDIR ?= /usr/local/bin
OBJDIR ?= build

TMP_GOPATH=$(OBJDIR)/gopath
GOBIN=$(TMP_GOPATH)/bin
GOBIN=$(abspath $(TMP_GOPATH)/bin)

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

0 comments on commit 466ab2d

Please sign in to comment.