From 5e868fe043b4c187eb7f87c848152d8b73786d6d Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Fri, 27 Dec 2019 12:22:20 +0100 Subject: [PATCH] Readme.md build.sh: stop spreading lies about GOPATH Turns out there's no need to unset GOPATH. --- Readme.md | 5 +---- build.sh | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Readme.md b/Readme.md index 52edf61..10932ed 100644 --- a/Readme.md +++ b/Readme.md @@ -22,10 +22,7 @@ Add a crontab entry (on linux) to run `ooniprobe` daily at a random time: ## Development setup -Be sure you have golang >= 1.13. We use Go modules. Make sure you -don't have GOPATH set. - -Run +Be sure you have golang >= 1.13. We use golang modules. Run ``` ./build.sh help diff --git a/build.sh b/build.sh index d01cde8..81712b3 100755 --- a/build.sh +++ b/build.sh @@ -1,10 +1,6 @@ #!/bin/sh set -e -if [ "$GOPATH" != "" ]; then - unset GOPATH -fi - buildtags="" ldflags="-s -w"