summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-08-27 09:53:35 -0500
committerWilliam Hubbs <williamh@gentoo.org>2015-08-27 09:56:09 -0500
commit6c14be6fab464d3fbb38560a018a42b9c4f13f9c (patch)
tree8e08e8d860269ade4164fb45231a6492ea5e5c30 /dev-go
parentkde-frameworks/kdelibs4support: update blocker. (diff)
downloadgentoo-6c14be6fab464d3fbb38560a018a42b9c4f13f9c.tar.gz
gentoo-6c14be6fab464d3fbb38560a018a42b9c4f13f9c.tar.bz2
gentoo-6c14be6fab464d3fbb38560a018a42b9c4f13f9c.zip
dev-go/go-tools: fix removal of cover and vet
Since binaries are being installed in $GOROOT/bin, we need to remove cover and vet from there for newer versions of go instead of from removing them from /usr/bin. This fixes bug #558882.
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
index 887effab69f0..030ff9e2a489 100644
--- a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
@@ -94,7 +94,7 @@ src_install() {
doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
else
- rm "${D}"/usr/bin/{cover,vet} ||
+ rm "${D}"$(go env GOROOT)/bin/{cover,vet} ||
die "unable to remove cover and vet"
fi
}