diff --git a/README.md b/README.md index 78782297f26..df3769be4fe 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ First, install all [build dependencies](docs/dev/dependencies.md). -After cloning this repository, the installer binary will need to be built by running the following: +After cloning this repository into your `GOPATH`, build the installer binary with: ```sh hack/build.sh diff --git a/hack/build.sh b/hack/build.sh index 04f5fe1831e..0e524b8f954 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -12,7 +12,7 @@ export CGO_ENABLED=0 case "${MODE}" in release) TAGS="${TAGS} release" - GOPATH="${PWD}/vendor:$(go env GOPATH)" go generate ./data + go generate ./data ;; dev) ;;