diff options
author | William Hubbs <williamh@gentoo.org> | 2022-11-18 17:10:51 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-11-18 17:10:51 -0600 |
commit | b0a4dffcac4b7994d1832f69dade037cbabf6997 (patch) | |
tree | 83da36bcf689fcfdbf6646edbdbf53ef252a9b95 /eclass | |
parent | sci-mathematics/lean: bump to 3.49.1 (diff) | |
download | gentoo-b0a4dffcac4b7994d1832f69dade037cbabf6997.tar.gz gentoo-b0a4dffcac4b7994d1832f69dade037cbabf6997.tar.bz2 gentoo-b0a4dffcac4b7994d1832f69dade037cbabf6997.zip |
go-module.eclass: add a way to allow go mod verify to be nonfatal
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/go-module.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 4916b31a1b59..10ed475c5b11 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -360,7 +360,9 @@ go-module_src_unpack() { default if [[ ! -d "${S}"/vendor ]]; then cd "${S}" - ego mod verify + local nf + [[ -n ${NONFATAL_VERIFY} ]] && nf=nonfatal + ${nf} ego mod verify fi fi } |