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, 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
}