app-emulation/docker-swarm: GOBIN interference (bug 636506)

Closes: https://bugs.gentoo.org/636506
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Zac Medico
2017-11-11 20:58:42 -08:00
parent 926f9314af
commit 53c7f9cf13

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -69,7 +69,7 @@ src_unpack() {
}
src_compile() {
GOPATH="${S}" \
GOPATH="${S}" GOBIN="${S}/bin" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
[[ -x ${S}/bin/${PN#docker-} ]] || die
}