dev-go/go-tools: fix tipgodoc
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2016 23:14:30 +0000 (15:14 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2016 23:14:30 +0000 (15:14 -0800)
Package-Manager: portage-2.2.27

dev-go/go-tools/go-tools-0_pre20160121.ebuild

index 381504ad6f86699bb7c804c150c9da6e1026a9b3..3926e8850a5f4a62a9761395f23822f9cd30dd7c 100644 (file)
@@ -99,15 +99,6 @@ src_install() {
        # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
        exeinto "$(go env GOROOT)/bin"
        doexe bin/* "${T}/goroot/bin/godoc"
-       # Since tipgodoc has been known to be installed in either
-       # GOROOT or GOPATH, handle either case (bug 572650). It likely
-       # depends on what is currently installed, as is often the case
-       # for weird issues like this with go.
-       if [[ -e ${T}/gopath/bin/tipgodoc ]]; then
-               doexe "${T}/gopath/bin/tipgodoc"
-       else
-               doexe "${T}/goroot/bin/tipgodoc"
-       fi
        dodir /usr/bin
        ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die