Merge pull request #76 from simplesurance/improve_configure_gopath
build: fix: configure fails if GOPATH environment variable not set
This commit is contained in:
commit
fb1614c873
1
configure
vendored
1
configure
vendored
@ -106,6 +106,7 @@ check_docker_version() {
|
||||
|
||||
check_go_env() {
|
||||
echo -n "Checking \$GOPATH... "
|
||||
GOPATH="$(go env GOPATH)"
|
||||
if [ -z "$GOPATH" ]; then
|
||||
printf "${RED}invalid${NC} - GOPATH not set\n"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user