From 72bfa6f2b74dd2db688c0ca737eb6f3fe24b6a86 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 17 Feb 2020 12:15:46 +0100 Subject: docs: fix go get instructions --- docs/contributing.md | 2 +- docs/openbsd/setup.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 ``` -- cgit mrf-deployment