summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-03-04 10:13:31 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-03-04 10:13:31 -0600
commitf9ee55e698f8c035fb549a59badbddc5409f3a4b (patch)
treebfe3925bd6acb95c9a879173b049e574c696c126 /eclass/go-module.eclass
parentnet-misc/nextcloud-client: add 3.4.3 (diff)
downloadgentoo-f9ee55e698f8c035fb549a59badbddc5409f3a4b.tar.gz
gentoo-f9ee55e698f8c035fb549a59badbddc5409f3a4b.tar.bz2
gentoo-f9ee55e698f8c035fb549a59badbddc5409f3a4b.zip
go-module.eclass: use ego helper function
All direct calls to go in eclasses or ebuilds should be done via the ego helper function. Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r--eclass/go-module.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index 66fe52c9ad72..b5949e60b4ea 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -435,7 +435,7 @@ _go-module_src_unpack_verify_gosum() {
# This will print 'downloading' messages, but it's accessing content from
# the $GOPROXY file:/// URL!
einfo "Tidying go.mod/go.sum"
- go mod tidy >/dev/null
+ ego mod tidy >/dev/null
# This used to call 'go get' to verify by fetching everything from the main
# go.mod. However 'go get' also turns out to recursively try to fetch
@@ -461,7 +461,7 @@ go-module_live_vendor() {
die "${FUNCNAME} only allowed when upstream isn't vendoring"
pushd "${S}" >& /dev/null || die
- go mod vendor || die
+ ego mod vendor
popd >& /dev/null || die
}