commit:     cd5f61c0eb9c4e55fb43298270d02fa771cd2f2e
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  9 17:49:00 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Apr  9 17:49:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd5f61c0

app-admin/cli53: style tweaks || die

Package-Manager: portage-2.2.28_p64

 app-admin/cli53/cli53-0.7.2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-admin/cli53/cli53-0.7.2.ebuild 
b/app-admin/cli53/cli53-0.7.2.ebuild
index 5bc5070..916c0fd 100644
--- a/app-admin/cli53/cli53-0.7.2.ebuild
+++ b/app-admin/cli53/cli53-0.7.2.ebuild
@@ -4,7 +4,6 @@
 
 EAPI=6
 
-EGO_PN=github.com/barnybug/cli53
 inherit golang-vcs-snapshot
 
 DESCRIPTION="Command line tool for Amazon Route 53"
@@ -15,14 +14,15 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
+EGO_PN="github.com/barnybug/cli53"
+
 src_compile() {
-       cd src/${EGO_PN}
-       version_arg="version=${PV}"
-       GOPATH="${WORKDIR}/${P}" emake ${version_arg} build
+       cd src/${EGO_PN} || die
+       GOPATH="${WORKDIR}/${P}" emake version=${PV} build
 }
 
 src_install() {
-       cd src/${EGO_PN}
+       cd src/${EGO_PN} || die
        dobin cli53
        dodoc {CHANGELOG,README}.md
 }

Reply via email to