diff --git a/bin/check_go_path b/bin/check_go_path index 0a9a27231..589696466 100755 --- a/bin/check_go_path +++ b/bin/check_go_path @@ -15,5 +15,5 @@ while [ ${#} -gt 1 ]; do done echo "go-ipfs must be built from within your \$GOPATH directory." -echo "expected within '$GOPATH' but got '$PWD'" +echo "expected within '$(go env GOPATH)' but got '$PWD'" exit 1