From ff17118210caa046edd025115d18f48534442e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 12 Jun 2019 18:24:10 +0100 Subject: [PATCH] README: use $GOBIN instead of $GOPATH/bin (#168) $GOPATH/bin works in the simple cases, but will break if the user specifies their own $GOBIN, or if their $GOPATH has multiple elements. This form is also simpler. Even if the user doesn't specify their custom $GOBIN, 'go env GOBIN' will return the correct default. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f61f4f4..4cf7823 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ or build from source (requires Go 1.10+) ``` go get -u github.com/FiloSottile/mkcert -$(go env GOPATH)/bin/mkcert +$(go env GOBIN)/mkcert ``` or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).