From c6f00190e3dcafa441c0ccd60086708afb69b80e Mon Sep 17 00:00:00 2001 From: Elena Morozova Date: Mon, 9 Dec 2019 14:33:24 -0800 Subject: github guide: update command to set working_dir Use "go env GOPATH" instead of "$GOPATH" Signed-off-by: Elena Morozova --- contributors/guide/github-workflow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contributors/guide/github-workflow.md') 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 -- cgit v1.2.3