From: Michał Górny <mgorny@gentoo.org>
Date: Thu, 13 Feb 2020 10:41:05 +0000 (+0100)
Subject: dev-python/twisted: Fix stray % in var refs
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c93dbf15a04101056c9bcbc62e3c12bdd6d21b8b;p=gentoo.git

dev-python/twisted: Fix stray % in var refs

Closes: https://bugs.gentoo.org/709470
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---

diff --git a/dev-python/twisted/twisted-19.10.0.ebuild b/dev-python/twisted/twisted-19.10.0.ebuild
index 6491d91917f8..6de8b0c43fb5 100644
--- a/dev-python/twisted/twisted-19.10.0.ebuild
+++ b/dev-python/twisted/twisted-19.10.0.ebuild
@@ -127,7 +127,7 @@ python_test() {
 python_install() {
 	distutils-r1_python_install
 
-	cd "${D%}$(python_get_sitedir)" || die
+	cd "${D}$(python_get_sitedir)" || die
 
 	# own the dropin.cache so we don't leave orphans
 	touch twisted/plugins/dropin.cache || die
@@ -162,7 +162,7 @@ pkg_postinst() {
 }
 
 python_postrm() {
-	rm -f "${ROOT%}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
+	rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
 }
 
 pkg_postrm(){