1 |
commit: d5d001429cc3363d5ae3b6b95f69b76a00fcfa0b |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 29 01:17:34 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 5 16:47:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d00142 |
7 |
|
8 |
distutils-r1.eclass: Strip the trailing slash from D |
9 |
|
10 |
This just looks nicer in build logs. |
11 |
|
12 |
eclass/distutils-r1.eclass | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
16 |
index afd29ed..171762c 100644 |
17 |
--- a/eclass/distutils-r1.eclass |
18 |
+++ b/eclass/distutils-r1.eclass |
19 |
@@ -555,8 +555,8 @@ distutils-r1_python_install() { |
20 |
done |
21 |
fi |
22 |
|
23 |
- local root=${D}/_${EPYTHON} |
24 |
- [[ ${DISTUTILS_SINGLE_IMPL} ]] && root=${D} |
25 |
+ local root=${D%/}/_${EPYTHON} |
26 |
+ [[ ${DISTUTILS_SINGLE_IMPL} ]] && root=${D%/} |
27 |
|
28 |
esetup.py install --root="${root}" "${args[@]}" |