mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-25 06:59:29 -04:00
bazel: use hermetic go in PATH for golicenses
This commit is contained in:
parent
4bffeefd70
commit
15d51c3a3f
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue