diff options
-rw-r--r-- | eclass/go-module.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 8047d498b08d..4916b31a1b59 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -358,6 +358,10 @@ go-module_src_unpack() { die "Please update this ebuild" else default + if [[ ! -d "${S}"/vendor ]]; then + cd "${S}" + ego mod verify + fi fi } |