summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/kube-bench/kube-bench-0.0.34.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/kube-bench/kube-bench-0.0.34.ebuild b/app-admin/kube-bench/kube-bench-0.0.34.ebuild
index cf7b9e1eb726..5b943f248d2e 100644
--- a/app-admin/kube-bench/kube-bench-0.0.34.ebuild
+++ b/app-admin/kube-bench/kube-bench-0.0.34.ebuild
@@ -49,7 +49,7 @@ RESTRICT="test"
src_compile() {
pushd src/${EGO_PN} || die
- GOPATH="${S}" go build -mod vendor -v -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
+ GO111MODULE=on GOPATH="${S}" go build -mod vendor -v -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
popd || die
}