From 175fc3867a70dd5a0d5c0becdb828751ccd88e9c Mon Sep 17 00:00:00 2001
From: Valentin Rothberg <rothberg@redhat.com>
Date: Wed, 20 Jan 2021 10:31:18 +0100
Subject: Revert "ginkgo: install on demand via `go get -u`"

This reverts commit de05e5816869073600ae8e851093b4b9a9d7fab0.

Running `go get -u` will change the local Go module causing CI to fail
as the local git tree is being changed.  Reverting the change for now
until we have a better idea.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 8d1a34183..9fc715689 100644
--- a/Makefile
+++ b/Makefile
@@ -598,7 +598,7 @@ endef
 .PHONY: .install.ginkgo
 .install.ginkgo: .gopathok
 	if [ ! -x "$(GOBIN)/ginkgo" ]; then \
-		go get -u github.com/onsi/ginkgo/ginkgo@v1.14.2; \
+		$(GO) install $(BUILDFLAGS) ./vendor/github.com/onsi/ginkgo/ginkgo ; \
 	fi
 
 .PHONY: .install.gitvalidation
-- 
cgit v1.2.3-54-g00ecf