Commit 334e7509 authored by Bryan C. Mills's avatar Bryan C. Mills
Browse files

cmd: ensure that GOPATH is always valid in subprocesses that execute 'go build'

GOPATH/pkg contains, among other things, the module cache (and associated lockfiles).

Fixes #30776

Change-Id: I305cb3c0daab8cedd2e6ad235d4733f66af18723
Reviewed-on: https://go-review.googlesource.com/c/go/+/167082


Reviewed-by: default avatarJay Conrod <jayconrod@google.com>
parent 49448bad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment