commit:     8ea01fabb4a7894e0ccef08e924d7204e02032f4
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 14:16:08 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 14:16:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea01fab

app-admin/kube-bench: Add -mod vendor flag

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 app-admin/kube-bench/kube-bench-0.0.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 5efb03763d5..cf7b9e1eb72 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 -v -ldflags "-X 
github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
+       GOPATH="${S}" go build -mod vendor -v -ldflags "-X 
github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
        popd || die
 }
 

Reply via email to