From 8d90455159b17436cab23b4d8e042c20ad48cddf Mon Sep 17 00:00:00 2001 From: Xiang Dai <764524258@qq.com> Date: Thu, 26 Sep 2019 20:57:56 +0800 Subject: [PATCH] unit GOPATH Signed-off-by: Xiang Dai <764524258@qq.com> --- docs/installation/local.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation/local.md b/docs/installation/local.md index eccb8e692907a..66c5631221501 100644 --- a/docs/installation/local.md +++ b/docs/installation/local.md @@ -28,13 +28,13 @@ $ chmod a+x "/usr/local/bin/loki" Clone Loki to `$GOPATH/src/github.com/grafana/loki`: ```bash -$ git clone https://github.com/grafana/loki $(go env GOPATH)/src/github.com/grafana/loki +$ git clone https://github.com/grafana/loki $GOPATH/src/github.com/grafana/loki ``` Then change into that directory and run `make loki`: ```bash -$ cd $(go env GOPATH)/src/github.com/grafana/loki +$ cd $GOPATH/src/github.com/grafana/loki $ make loki # A file at ./cmd/loki/loki will be created and is the