commit: 87193bc3da112b8bdb42a2698514fcb047cf6989 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Oct 2 10:07:09 2019 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Oct 2 22:19:17 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=87193bc3
doins: Fix directory install options when called as dodoc. PMS does not mention that diropts should be respected when dodoc -r creates directories recursively. This is consistent with the behaviour for regular files, where insopts isn't respected either. A parallel patch for further clarification of the PMS wording has been sent to the gentoo-pms mailing list for review. Acked-by: Zac Medico <zmedico <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> bin/ebuild-helpers/doins | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index fb5fc7c7c..24fe48121 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 @@ -15,6 +15,7 @@ if [[ ${helper} == dodoc ]] ; then exit 0 fi export INSOPTIONS=-m0644 + export DIROPTIONS="" export _E_INSDESTTREE_=usr/share/doc/${PF}/${_E_DOCDESTTREE_} else if ! ___eapi_has_DESTTREE_INSDESTTREE; then