summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-vcs/hub/hub-2.7.1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-vcs/hub/hub-2.7.1.ebuild b/dev-vcs/hub/hub-2.7.1.ebuild
index 0e7673d187a5..2747df4dd86f 100644
--- a/dev-vcs/hub/hub-2.7.1.ebuild
+++ b/dev-vcs/hub/hub-2.7.1.ebuild
@@ -29,7 +29,8 @@ src_prepare() {
}
src_compile() {
- unset GOPATH
+ GOCACHE="${T}"/go-cache \
+ GOPATH= \
./script/build -o bin/${PN} || die
}