commit: 7d3eec2b8efa6f85df086248a689ff85c01d9b42
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 04:07:00 2020 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun May 31 04:16:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3eec2b
dev-util/github-cli: avoid failure if GOBIN/GOPATH/GOCODE in build env
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
dev-util/github-cli/github-cli-0.8.0.ebuild | 2 ++
dev-util/github-cli/github-cli-0.9.0-r1.ebuild | 2 ++
dev-util/github-cli/github-cli-9999.ebuild | 2 ++
3 files changed, 6 insertions(+)
diff --git a/dev-util/github-cli/github-cli-0.8.0.ebuild
b/dev-util/github-cli/github-cli-0.8.0.ebuild
index 61c48d3dee4..0cdc3f07d7d 100644
--- a/dev-util/github-cli/github-cli-0.8.0.ebuild
+++ b/dev-util/github-cli/github-cli-0.8.0.ebuild
@@ -275,6 +275,8 @@ SLOT="0"
RDEPEND=">=dev-vcs/git-1.7.3"
BDEPEND=">=dev-lang/go-1.13"
+unset GOBIN GOPATH GOCODE
+
src_unpack() {
if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
diff --git a/dev-util/github-cli/github-cli-0.9.0-r1.ebuild
b/dev-util/github-cli/github-cli-0.9.0-r1.ebuild
index 40cf4d76c40..766be325438 100644
--- a/dev-util/github-cli/github-cli-0.9.0-r1.ebuild
+++ b/dev-util/github-cli/github-cli-0.9.0-r1.ebuild
@@ -275,6 +275,8 @@ SLOT="0"
RDEPEND=">=dev-vcs/git-1.7.3"
BDEPEND=">=dev-lang/go-1.13"
+unset GOBIN GOPATH GOCODE
+
src_unpack() {
if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
diff --git a/dev-util/github-cli/github-cli-9999.ebuild
b/dev-util/github-cli/github-cli-9999.ebuild
index 61c48d3dee4..0cdc3f07d7d 100644
--- a/dev-util/github-cli/github-cli-9999.ebuild
+++ b/dev-util/github-cli/github-cli-9999.ebuild
@@ -275,6 +275,8 @@ SLOT="0"
RDEPEND=">=dev-vcs/git-1.7.3"
BDEPEND=">=dev-lang/go-1.13"
+unset GOBIN GOPATH GOCODE
+
src_unpack() {
if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack