diff --git a/scripts/install b/scripts/install index 875d1a4..50b5c81 100755 --- a/scripts/install +++ b/scripts/install @@ -81,6 +81,7 @@ copy_source() { compile_go() { display_message " * Compiling..." + [ -z "$GOROOT_BOOTSTRAP" ] && export GOROOT_BOOTSTRAP=$GOROOT unset GOARCH && unset GOOS && unset GOPATH && unset GOBIN && unset GOROOT && export GOBIN=$GO_INSTALL_ROOT/bin && export PATH=$GOBIN:$PATH &&