summaryrefslogtreecommitdiff
path: root/contributors/guide/github-workflow.md
diff options
context:
space:
mode:
authorElena Morozova <morelena@google.com>2019-12-09 14:33:24 -0800
committerElena Morozova <morelena@google.com>2019-12-09 14:40:45 -0800
commitc6f00190e3dcafa441c0ccd60086708afb69b80e (patch)
tree326e9827c69ec289293a6558bec28304e22ff88a /contributors/guide/github-workflow.md
parentbfdd288a81fbfdc3403170f1554cf493823176af (diff)
github guide: update command to set working_dir
Use "go env GOPATH" instead of "$GOPATH" Signed-off-by: Elena Morozova <morelena@google.com>
Diffstat (limited to 'contributors/guide/github-workflow.md')
-rw-r--r--contributors/guide/github-workflow.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/contributors/guide/github-workflow.md b/contributors/guide/github-workflow.md
index 1963b206..8bab80dc 100644
--- a/contributors/guide/github-workflow.md
+++ b/contributors/guide/github-workflow.md
@@ -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