projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
937a0fe
)
distutils-r1.eclass: Strip the trailing slash from D
author
Mike Gilbert
<floppym@gentoo.org>
Sun, 29 May 2016 01:17:34 +0000
(21:17 -0400)
committer
Mike Gilbert
<floppym@gentoo.org>
Sun, 5 Jun 2016 16:47:11 +0000
(12:47 -0400)
This just looks nicer in build logs.
eclass/distutils-r1.eclass
patch
|
blob
|
history
diff --git
a/eclass/distutils-r1.eclass
b/eclass/distutils-r1.eclass
index afd29ed272ffa68badb11deb1f797e094d255a14..171762c60ec273b2eb0d02deb6f3d66bbebae7b2 100644
(file)
--- 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[@]}"