Skip to content

Commit

Permalink
Readme.md build.sh: stop spreading lies about GOPATH
Browse files Browse the repository at this point in the history
Turns out there's no need to unset GOPATH.
  • Loading branch information
bassosimone committed Dec 27, 2019
1 parent 7bbbab8 commit 5e868fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/sh
set -e

if [ "$GOPATH" != "" ]; then
unset GOPATH
fi

buildtags=""
ldflags="-s -w"

Expand Down

0 comments on commit 5e868fe

Please sign in to comment.