git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #76 from simplesurance/improve_configure_gopath

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

commitfb1614c87334c45a6c96f991db802c9a2c1c4a7f authorMathias Söderberg <mthssdrbrg@users.noreply.github.com> dateMon 25 Feb 2019, 10:17 (8 years ago) parent2280b421c16c2c
1 file changed+1
configure+1
configure+1
@@ -106,6 +106,7 @@ check_docker_version() {
106106
107107check_go_env() {
108108 echo -n "Checking \$GOPATH... "
109+ GOPATH="$(go env GOPATH)"
109110 if [ -z "$GOPATH" ]; then
110111 printf "${RED}invalid${NC} - GOPATH not set\n"
111112 exit 1