mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Set GOCACHE (1.10) as a subdir of GOPATH
This commit is contained in:
		@@ -355,6 +355,7 @@ kube::golang::setup_env() {
 | 
				
			|||||||
  kube::golang::create_gopath_tree
 | 
					  kube::golang::create_gopath_tree
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  export GOPATH="${KUBE_GOPATH}"
 | 
					  export GOPATH="${KUBE_GOPATH}"
 | 
				
			||||||
 | 
					  export GOCACHE="${KUBE_GOPATH}/cache"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Append KUBE_EXTRA_GOPATH to the GOPATH if it is defined.
 | 
					  # Append KUBE_EXTRA_GOPATH to the GOPATH if it is defined.
 | 
				
			||||||
  if [[ -n ${KUBE_EXTRA_GOPATH:-} ]]; then
 | 
					  if [[ -n ${KUBE_EXTRA_GOPATH:-} ]]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user