From 26f488e6c55969c340b61c5bccbbe5f1be92e836 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 19 Sep 2018 19:37:17 +0200 Subject: [PATCH] Use `go env GOVAR` instead of $GOVAR in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b1684934ce1c6de3af1577df136748f0d763052..6ea42289f403f6e635d68279c6e8a25332b0f19c 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,9 @@ go get -u github.com/MichaelMure/git-bug If it's not done already, add golang binary directory in your PATH: ```bash -export PATH=$PATH:$GOROOT/bin:$GOPATH/bin +export PATH=$PATH:$(go env GOROOT)/bin:$(go env GOPATH)/bin ``` + ### Pre-compiled binaries 1. Go to the [release page](https://github.com/MichaelMure/git-bug/releases/latest) and download the appropriate binary for your system.