mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bazel: use hermetic go in PATH for golicenses
This commit is contained in:
parent
4bffeefd70
commit
15d51c3a3f
@ -31,7 +31,11 @@ ${go} mod download
|
||||
|
||||
err=0
|
||||
|
||||
GOROOT=$(${go} env GOROOT) ${golicenses} csv ./... | {
|
||||
PATH="$(dirname "${go}"):${PATH}" \
|
||||
GOROOT=$(${go} env GOROOT) \
|
||||
GOPATH=$(${go} env GOPATH) \
|
||||
GOCACHE=$(${go} env GOCACHE) \
|
||||
${golicenses} csv ./... | {
|
||||
while read -r line; do
|
||||
|
||||
pkg=${line%%,*}
|
||||
|
Loading…
Reference in New Issue
Block a user