github guide: update command to set working_dir

Use "go env GOPATH" instead of "$GOPATH"

Signed-off-by: Elena Morozova <morelena@google.com>
This commit is contained in:
Elena Morozova 2019-12-09 14:33:24 -08:00
parent bfdd288a81
commit c6f00190e3
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Define a local working directory:
# You must follow exactly this pattern,
# neither `$GOPATH/src/github.com/${your github profile name/`
# nor any other pattern will work.
export working_dir=$GOPATH/src/k8s.io
export working_dir="$(go env GOPATH)/src/k8s.io"
```
> If you already do Go development on github, the `k8s.io` directory