diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-06-08 09:15:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-06-13 10:09:58 +0200 |
commit | d2e9c4a89283ca45b1d341877b783c30a1e5f510 (patch) | |
tree | 0ea03078d5ce343acc6da54e3e8e6c886163cf37 /eclass/python-utils-r1.eclass | |
parent | python-r1.eclass: Sanitize exeopts (diff) | |
download | gentoo-d2e9c4a89283ca45b1d341877b783c30a1e5f510.tar.gz gentoo-d2e9c4a89283ca45b1d341877b783c30a1e5f510.tar.bz2 gentoo-d2e9c4a89283ca45b1d341877b783c30a1e5f510.zip |
python-utils-r1.eclass: Sanitize insopts/exeopts
Sanitize insopts/exeopts when calling doins/doexe, in order to avoid
prior insopts calls accidentally affecting do*/new* functions defined
by the eclass.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 3a462e34614a..ab4db71422d2 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -789,6 +789,7 @@ python_newexe() { ( dodir "${wrapd}" + exeopts -m 0755 exeinto "${d}" newexe "${f}" "${newfn}" || return ${?} ) @@ -920,6 +921,7 @@ python_domodule() { fi ( + insopts -m 0644 insinto "${d}" doins -r "${@}" || return ${?} ) @@ -954,6 +956,7 @@ python_doheader() { d=${PYTHON_INCLUDEDIR#${EPREFIX}} ( + insopts -m 0644 insinto "${d}" doins -r "${@}" || return ${?} ) |