Skip to content

Commit 62b357d

Browse files
committed
[FAB-9209] fix make gotools
Change-Id: I865d81da3fbeb8d627ec25d42f2df453651c83d3 Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent 310aa14 commit 62b357d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gotools/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ gotool.ginkgo:
4848
@GOPATH=$(abspath $(TMP_GOPATH)) go install github.com/onsi/ginkgo/ginkgo
4949

5050
# Lock to a versioned dep
51-
gotool.dep: DEP_VERSION ?= "0.4.1"
51+
gotool.dep: DEP_VERSION ?= "v0.4.1"
5252
gotool.dep:
5353
@echo "Getting dep $(DEP_VERSION)"
54-
@GOPATH=$(abspath $(TMP_GOPATH)) go get -d github.com/golang/dep
55-
@cd $(abspath $(TMP_GOPATH)) git checkout $(DEP_VERSION)
54+
@GOPATH=$(abspath $(TMP_GOPATH)) go get -d -u github.com/golang/dep
55+
@cd $(abspath $(TMP_GOPATH))/src/github.com/golang/dep && git checkout -q $(DEP_VERSION)
5656
@echo "Building github.com/golang/dep -> dep"
5757
@GOPATH=$(abspath $(TMP_GOPATH)) go install -ldflags="-X main.version=$(DEP_VERSION) -X main.buildDate=$$(date '+%Y-%m-%d')" github.com/golang/dep/cmd/dep
5858

0 commit comments

Comments
 (0)