From 62b357d07cded87390ffe7ecb9ec14ff2e9971b9 Mon Sep 17 00:00:00 2001 From: Matthew Sykes Date: Wed, 28 Mar 2018 13:29:44 -0400 Subject: [PATCH] [FAB-9209] fix make gotools Change-Id: I865d81da3fbeb8d627ec25d42f2df453651c83d3 Signed-off-by: Matthew Sykes --- gotools/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gotools/Makefile b/gotools/Makefile index bae3dda8cdd..e97338065b7 100644 --- a/gotools/Makefile +++ b/gotools/Makefile @@ -48,11 +48,11 @@ gotool.ginkgo: @GOPATH=$(abspath $(TMP_GOPATH)) go install github.com/onsi/ginkgo/ginkgo # Lock to a versioned dep -gotool.dep: DEP_VERSION ?= "0.4.1" +gotool.dep: DEP_VERSION ?= "v0.4.1" gotool.dep: @echo "Getting dep $(DEP_VERSION)" - @GOPATH=$(abspath $(TMP_GOPATH)) go get -d github.com/golang/dep - @cd $(abspath $(TMP_GOPATH)) git checkout $(DEP_VERSION) + @GOPATH=$(abspath $(TMP_GOPATH)) go get -d -u github.com/golang/dep + @cd $(abspath $(TMP_GOPATH))/src/github.com/golang/dep && git checkout -q $(DEP_VERSION) @echo "Building github.com/golang/dep -> dep" @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