1 |
On 10/2/19 3:07 AM, Ulrich Müller wrote: |
2 |
> PMS does not mention that diropts should be respected when dodoc -r |
3 |
> creates directories recursively. This is consistent with the behaviour |
4 |
> for regular files, where insopts isn't respected either. |
5 |
> |
6 |
> A parallel patch for further clarification of the PMS wording has been |
7 |
> sent to the gentoo-pms mailing list for review. |
8 |
> |
9 |
> Signed-off-by: Ulrich Müller <ulm@g.o> |
10 |
> --- |
11 |
> bin/ebuild-helpers/doins | 3 ++- |
12 |
> 1 file changed, 2 insertions(+), 1 deletion(-) |
13 |
> |
14 |
> diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins |
15 |
> index fb5fc7c7c..24fe48121 100755 |
16 |
> --- a/bin/ebuild-helpers/doins |
17 |
> +++ b/bin/ebuild-helpers/doins |
18 |
> @@ -1,5 +1,5 @@ |
19 |
> #!/bin/bash |
20 |
> -# Copyright 1999-2018 Gentoo Foundation |
21 |
> +# Copyright 1999-2019 Gentoo Authors |
22 |
> # Distributed under the terms of the GNU General Public License v2 |
23 |
> |
24 |
> source "${PORTAGE_BIN_PATH}"/isolated-functions.sh || exit 1 |
25 |
> @@ -15,6 +15,7 @@ if [[ ${helper} == dodoc ]] ; then |
26 |
> exit 0 |
27 |
> fi |
28 |
> export INSOPTIONS=-m0644 |
29 |
> + export DIROPTIONS="" |
30 |
> export _E_INSDESTTREE_=usr/share/doc/${PF}/${_E_DOCDESTTREE_} |
31 |
> else |
32 |
> if ! ___eapi_has_DESTTREE_INSDESTTREE; then |
33 |
> |
34 |
|
35 |
Looks good. Please merge. |
36 |
-- |
37 |
Thanks, |
38 |
Zac |