net-nntp/sabnzbd: strip trailing slash for ED
authorJustin Bronder <jsbronder@gentoo.org>
Tue, 22 Nov 2016 13:56:04 +0000 (08:56 -0500)
committerJustin Bronder <jsbronder@gentoo.org>
Tue, 22 Nov 2016 13:56:04 +0000 (08:56 -0500)
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

index 7502561fb08ad4214b2fd9a723afc1545d69c155..289bd99e7c1c86ccbaa6930d6462e85dd3600c11 100644 (file)
@@ -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}"