commit:     45fd9de0048a71d14e03d48bc2cf124665acfff7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  8 07:14:39 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 13 08:09:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45fd9de0

python-r1.eclass: Sanitize exeopts

Sanitize exeopts when calling doexe, in order to avoid prior insopts
calls accidentally affecting do*/new* functions defined by the eclass.

 eclass/python-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 8a8adb449cc..097a965272d 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -810,6 +810,7 @@ python_replicate_script() {
                python_export PYTHON_SCRIPTDIR
 
                (
+                       exeopts -m 0755
                        exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
                        doexe "${files[@]}"
                )

Reply via email to