summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-05-30 21:07:00 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-05-30 21:16:38 -0700
commit7d3eec2b8efa6f85df086248a689ff85c01d9b42 (patch)
tree11c91f15599f8651ccf4ab3c9d624c0ac6e8ee08 /dev-util/github-cli
parentdev-util/github-cli: add bash completion, manpages (diff)
downloadgentoo-7d3eec2b8efa6f85df086248a689ff85c01d9b42.tar.gz
gentoo-7d3eec2b8efa6f85df086248a689ff85c01d9b42.tar.bz2
gentoo-7d3eec2b8efa6f85df086248a689ff85c01d9b42.zip
dev-util/github-cli: avoid failure if GOBIN/GOPATH/GOCODE in build env
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-util/github-cli')
-rw-r--r--dev-util/github-cli/github-cli-0.8.0.ebuild2
-rw-r--r--dev-util/github-cli/github-cli-0.9.0-r1.ebuild2
-rw-r--r--dev-util/github-cli/github-cli-9999.ebuild2
3 files changed, 6 insertions, 0 deletions
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 61c48d3dee4c..0cdc3f07d7d5 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 40cf4d76c403..766be325438a 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 61c48d3dee4c..0cdc3f07d7d5 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