1 |
commit: 45fd9de0048a71d14e03d48bc2cf124665acfff7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 8 07:14:39 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 13 08:09:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45fd9de0 |
7 |
|
8 |
python-r1.eclass: Sanitize exeopts |
9 |
|
10 |
Sanitize exeopts when calling doexe, in order to avoid prior insopts |
11 |
calls accidentally affecting do*/new* functions defined by the eclass. |
12 |
|
13 |
eclass/python-r1.eclass | 1 + |
14 |
1 file changed, 1 insertion(+) |
15 |
|
16 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
17 |
index 8a8adb449cc..097a965272d 100644 |
18 |
--- a/eclass/python-r1.eclass |
19 |
+++ b/eclass/python-r1.eclass |
20 |
@@ -810,6 +810,7 @@ python_replicate_script() { |
21 |
python_export PYTHON_SCRIPTDIR |
22 |
|
23 |
( |
24 |
+ exeopts -m 0755 |
25 |
exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}" |
26 |
doexe "${files[@]}" |
27 |
) |