From d5d001429cc3363d5ae3b6b95f69b76a00fcfa0b Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 28 May 2016 21:17:34 -0400 Subject: [PATCH] distutils-r1.eclass: Strip the trailing slash from D This just looks nicer in build logs. --- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index afd29ed272ff..171762c60ec2 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -555,8 +555,8 @@ distutils-r1_python_install() { done fi - local root=${D}/_${EPYTHON} - [[ ${DISTUTILS_SINGLE_IMPL} ]] && root=${D} + local root=${D%/}/_${EPYTHON} + [[ ${DISTUTILS_SINGLE_IMPL} ]] && root=${D%/} esetup.py install --root="${root}" "${args[@]}" -- 2.26.2