summaryrefslogtreecommitdiff
path: root/eclass/go-module.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r--eclass/go-module.eclass4
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
}