aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2018-09-19 19:37:17 +0200
committerQuentin Gliech <quentingliech@gmail.com>2018-09-19 19:38:43 +0200
commit26f488e6c55969c340b61c5bccbbe5f1be92e836 (patch)
treea9ae24c40ef690c72d59dce0fc48d131ee7b7424
parenta645c901213924921d42a01af07e87d11cdb0b81 (diff)
downloadgit-bug-26f488e6c55969c340b61c5bccbbe5f1be92e836.tar.gz
Use `go env GOVAR` instead of $GOVAR in README
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8b168493..6ea42289 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.