File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ function bom_pass {
519519 # BOM file should be generated for linux. Otherwise running this command on other operating systems such as OSX
520520 # results in certain dependencies being excluded from the BOM file, such as procfs.
521521 # For more info, https://github.com/etcd-io/etcd/issues/19665
522- output=$( GOOS=linux GOFLAGS=-mod=mod run_go_tool github.com/appscodelabs/license-bill-of-materials \
522+ output=$( GOOS=linux run_go_tool github.com/appscodelabs/license-bill-of-materials \
523523 --override-file ./bill-of-materials.override.json \
524524 " ${modules[@]} " )
525525 code=" $? "
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function bom_fixlet {
3030 # BOM file should be generated for linux. Otherwise running this command on other operating systems such as OSX
3131 # results in certain dependencies being excluded from the BOM file, such as procfs.
3232 # For more info, https://github.com/etcd-io/etcd/issues/19665
33- if GOOS=linux GOFLAGS=-mod=mod run_go_tool " github.com/appscodelabs/license-bill-of-materials" \
33+ if GOOS=linux run_go_tool " github.com/appscodelabs/license-bill-of-materials" \
3434 --override-file ./bill-of-materials.override.json \
3535 " ${modules[@]} " > ./bill-of-materials.json.tmp; then
3636 cp ./bill-of-materials.json.tmp ./bill-of-materials.json
You can’t perform that action at this time.
0 commit comments