Skip to content

Commit

Permalink
dev-go/go-tools: fix godoc doexe failure, bug 591656
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
zmedico committed Aug 19, 2016
1 parent 1aa0ef9 commit ea91279
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-go/go-tools/go-tools-0_pre20160220.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ src_install() {

# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
exeinto "$(go env GOROOT)/bin"
doexe bin/* "${T}/goroot/bin/godoc"
doexe bin/*
# godoc location varies depending on whether or not it's
# installed on the system (bug 591656)
[[ -e bin/godoc ]] || doexe "${T}/goroot/bin/godoc"
dodir /usr/bin
ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die

Expand Down

0 comments on commit ea91279

Please sign in to comment.