aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-02-17 12:15:46 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-02-17 12:15:46 +0100
commit72bfa6f2b74dd2db688c0ca737eb6f3fe24b6a86 (patch)
treed79c0acecc0247eae8304c30334ecfe12c2c5058
parenta416e6ee334c1296afb33357ee1ae0b6f0d16cff (diff)
docs: fix go get instructions
-rw-r--r--docs/contributing.md2
-rw-r--r--docs/openbsd/setup.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/contributing.md b/docs/contributing.md
index c5122106d..ae435bd54 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -76,7 +76,7 @@ or `make format`, you may be using Go 1.10 or older. In such case update to Go 1
## How to create a pull request
- First, you need an own git fork of syzkaller repository. Nagivate to [github.com/google/syzkaller](https://github.com/google/syzkaller) and press `Fork` button in the top-right corner of the page. This will create `https://github.com/YOUR_GITHUB_USERNAME/syzkaller` repository.
-- Checkout main syzkaller repository if you have not already. To work with `go` command the checkout must be under `$GOPATH`. The simplest way to do it is to run `go get github.com/google/syzkaller`, this will checkout the repository in `$GOPATH/src/github.com/google/syzkaller`.
+- Checkout main syzkaller repository if you have not already. To work with `go` command the checkout must be under `$GOPATH`. The simplest way to do it is to run `go get -u -d github.com/google/syzkaller/...`, this will checkout the repository in `$GOPATH/src/github.com/google/syzkaller`.
- Remember to `export PATH=$GOPATH/bin:$PATH` if you have not already.
- Then add your repository as an additional origin:
diff --git a/docs/openbsd/setup.md b/docs/openbsd/setup.md
index e4b2faf9a..8998c40d6 100644
--- a/docs/openbsd/setup.md
+++ b/docs/openbsd/setup.md
@@ -31,7 +31,7 @@ Variables used throughout the instructions:
2. Clone repository:
```sh
- $ go get github.com/google/syzkaller
+ $ go get -u -d github.com/google/syzkaller/...
$ cd ~/go/src/github.com/google/syzkaller
$ gmake all
```