From 920fc4bd13f694bbc48ca923c6893e566d18c102 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Mon, 29 Mar 2021 18:39:04 -0400 Subject: [PATCH] Set GO111MODULE=off when listing packages Signed-off-by: Yuri Shkuro --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a665cfcd..43c84593 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PROJECT_ROOT=github.com/uber/jaeger-client-go export GO111MODULE=off -PACKAGES := . $(shell go list ./... | awk -F/ 'NR>1 {print "./"$$4"/..."}' | grep -v -e ./thrift-gen/... -e ./thrift/... | sort -u) +PACKAGES := . $(shell GO111MODULE=off go list ./... | awk -F/ 'NR>1 {print "./"$$4"/..."}' | grep -v -e ./thrift-gen/... -e ./thrift/... | sort -u) # all .go files that don't exist in hidden directories ALL_SRC := $(shell find . -name "*.go" | grep -v -e vendor -e thrift-gen -e ./thrift/ \ -e ".*/\..*" \