mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Set GOCACHE (1.10) as a subdir of GOPATH
This commit is contained in:
parent
27045d3fcd
commit
c773e88941
@ -355,6 +355,7 @@ kube::golang::setup_env() {
|
||||
kube::golang::create_gopath_tree
|
||||
|
||||
export GOPATH="${KUBE_GOPATH}"
|
||||
export GOCACHE="${KUBE_GOPATH}/cache"
|
||||
|
||||
# Append KUBE_EXTRA_GOPATH to the GOPATH if it is defined.
|
||||
if [[ -n ${KUBE_EXTRA_GOPATH:-} ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user