From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 47D5C13989A for ; Thu, 27 Aug 2015 14:56:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AEDEE0966; Thu, 27 Aug 2015 14:56:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A75A3E0966 for ; Thu, 27 Aug 2015 14:56:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C466340A97 for ; Thu, 27 Aug 2015 14:56:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB425121 for ; Thu, 27 Aug 2015 14:56:32 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1440687369.6c14be6fab464d3fbb38560a018a42b9c4f13f9c.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild X-VCS-Directories: dev-go/go-tools/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 6c14be6fab464d3fbb38560a018a42b9c4f13f9c X-VCS-Branch: master Date: Thu, 27 Aug 2015 14:56:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bee775f7-8a10-4a88-bc72-c8dcbe7f234d X-Archives-Hash: d9e98fe165731fbec46b2913c4efb53e commit: 6c14be6fab464d3fbb38560a018a42b9c4f13f9c Author: William Hubbs gentoo org> AuthorDate: Thu Aug 27 14:53:35 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Aug 27 14:56:09 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c14be6f 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. dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 887effa..030ff9e 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 }