commit:     548304dd0f79386ca2d83d1af56045ad99e42cb1
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 13:56:04 2016 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 13:56:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548304dd

net-nntp/sabnzbd: strip trailing slash for ED

Per https://github.com/gentoo/gentoo/pull/2874#pullrequestreview-9526969

Package-Manager: portage-2.3.0

 net-nntp/sabnzbd/sabnzbd-1.1.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-1.1.1-r1.ebuild 
b/net-nntp/sabnzbd/sabnzbd-1.1.1-r1.ebuild
index 7502561..289bd99 100644
--- a/net-nntp/sabnzbd/sabnzbd-1.1.1-r1.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-1.1.1-r1.ebuild
@@ -88,8 +88,8 @@ src_install() {
        insopts -m 0755
        doins SABnzbd.py
 
-       python_fix_shebang "${ED}usr/share/${PN}"
-       python_optimize "${ED}usr/share/${PN}"
+       python_fix_shebang "${ED%/}/usr/share/${PN}"
+       python_optimize "${ED%/}/usr/share/${PN}"
 
        newinitd "${FILESDIR}/${PN}.initd" "${PN}"
        newconfd "${FILESDIR}/${PN}.confd" "${PN}"

Reply via email to