From 20c79e7bf30c79505f90506a053eaef478d10005 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Tue, 21 May 2019 18:56:29 +0100 Subject: [PATCH] Fiddling with GOPATH --- scripts/find-lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/find-lint.sh b/scripts/find-lint.sh index 2273ce67f..d4072508c 100755 --- a/scripts/find-lint.sh +++ b/scripts/find-lint.sh @@ -19,10 +19,10 @@ cd `dirname $0`/.. # We should move from gometalinter asap as per https://github.com/matrix-org/dendrite/issues/697 so this is a temporary # measure. It is not, however, in the scope of this PR. export GO111MODULE=off -export GOPATH="$(pwd):$(pwd)/vendor" +export GOPATH="$(pwd)/vendor:$GOPATH" # prefer the versions of gometalinter and the linters that we install # to anythign that ends up on the PATH. -export PATH="$(pwd)/bin:$(pwd)/vendor/bin:$PATH" +export PATH="$(pwd)/vendor/bin:$PATH" args="" if [ ${1:-""} = "fast" ]