Skip to content
Commit 1c16c2c0 authored by Fabian Holler's avatar Fabian Holler
Browse files

build: fix: configure fails if GOPATH environment variable not set

If the GOPATH enviroment variable was not set, go uses the default
GOPATH (~/go/).

The configure script was only checking if the GOPATH environment
is set. If it wasn't the script was failing.

Instead of checking if the GOPATH environment variable is set, check if
"go env GOPATH" returns a non-emtpy string.
parent 2280b42f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment