From 21baaafdce8f77e8aa52d5e45e388e4c425767a2 Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Fri, 24 Jul 2020 15:40:16 +0800 Subject: [PATCH] Refine script (#58) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bd2e206c..1c6a29bd 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,8 @@ Each file in the `data` directory can be used as a rule in this format: `geosite - Install `golang` and `git` - Download and install project code: `go get -u -v --insecure github.com/v2fly/domain-list-community` - Generate `dlc.dat` (without `datapath` option means to use `data` directory of this repository in `$GOPATH`): - - `$(go env GOPATH)/bin/domain-list-community` - - `$(go env GOPATH)/bin/domain-list-community --datapath=/path/to/your/custom/data/directory` + - `${GOPATH:-$(go env GOPATH)}/bin/domain-list-community` + - `${GOPATH:-$(go env GOPATH)}/bin/domain-list-community --datapath=/path/to/your/custom/data/directory` ## Structure of data