summaryrefslogtreecommitdiff
path: root/eclass/go-module.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-22 02:03:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-22 02:03:41 +0100
commit314a5f72ccfc3be0c1ba2c734416ffc69aa05de4 (patch)
treef46eb830301468fe7ea98b7643937ce671bb2397 /eclass/go-module.eclass
parentf6652ef9c05f9bc15eab1ef2f902f66314418caf (diff)
gentoo auto-resync : 22:10:2022 - 02:03:41
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
}