diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-03-07 16:00:10 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-03-12 21:11:44 +0100 |
commit | 244a62a4f275e4282dc040be3c049e593c36c0ce (patch) | |
tree | afc723d28c6e0e930cf52c9a711cf4e73a4184ad /bin/ebuild-helpers/dodoc | |
parent | Do not export PORTDIR & ECLASSDIR in EAPI 7 (diff) | |
download | portage-244a62a4f275e4282dc040be3c049e593c36c0ce.tar.gz portage-244a62a4f275e4282dc040be3c049e593c36c0ce.tar.bz2 portage-244a62a4f275e4282dc040be3c049e593c36c0ce.zip |
Fix uses of D/ED to account for no trailing slash
Fix all uses of D/ED to account for trailing slash not being present
in EAPI 7. While at it, also remove some duplicate slashes.
Reviewed-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin/ebuild-helpers/dodoc')
-rwxr-xr-x | bin/ebuild-helpers/dodoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc index 75029eb20..84936e400 100755 --- a/bin/ebuild-helpers/dodoc +++ b/bin/ebuild-helpers/dodoc @@ -17,7 +17,7 @@ if ! ___eapi_has_prefix_variables; then ED=${D} fi -dir="${ED}usr/share/doc/${PF}/${_E_DOCDESTTREE_}" +dir="${ED%/}/usr/share/doc/${PF}/${_E_DOCDESTTREE_#/}" if [ ! -d "${dir}" ] ; then install -d "${dir}" fi |