commit:     393761e7afeb26705f164c30a20818f1f951c733
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 14 21:18:27 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 14 21:42:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393761e7

app-portage/eix: Fix path to eix-functions

Closes: https://bugs.gentoo.org/633424

 app-portage/eix/{eix-0.33.0.ebuild => eix-0.33.0-r1.ebuild} | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/app-portage/eix/eix-0.33.0.ebuild 
b/app-portage/eix/eix-0.33.0-r1.ebuild
similarity index 94%
rename from app-portage/eix/eix-0.33.0.ebuild
rename to app-portage/eix/eix-0.33.0-r1.ebuild
index ecc62a0a6c0..f85ffa58d2d 100644
--- a/app-portage/eix/eix-0.33.0.ebuild
+++ b/app-portage/eix/eix-0.33.0-r1.ebuild
@@ -39,7 +39,7 @@ src_prepare() {
        sed -e "/eixf_source=/s:push.sh:cat 
\"${EROOT}usr/share/push/push.sh\":" \
                -e "/eixf_source=/s:quoter_pipe.sh:cat 
\"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
                -i src/eix-functions.sh.in || die
-       sed -e "s:'\$(bindir)/eix-functions.sh':cat 
\\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \
+       sed -e "s:'\$(bindir)/eix-functions.sh':cat 
\\\\\"${EROOT}usr/share/eix/eix-functions\\\\\":" \
                -i src/Makefile.am || die
        eautoreconf
 }
@@ -85,9 +85,7 @@ src_install() {
        dobashcomp bash/eix
        systemd_dotmpfilesd tmpfiles.d/eix.conf
 
-       insinto /usr/share/${PN}
-       doins "${ED}"/usr/bin/eix-functions.sh
-       rm -r "${ED}"/usr/bin/eix-functions.sh || die
+       rm -r "${ED%/}"/usr/bin/eix-functions.sh || die
 
        keepdir /var/cache/eix
 }

Reply via email to