1 |
commit: 85f9afe7a228bbb9ead53e773e70e600b541417f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 8 07:13:40 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 13 08:09:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85f9afe7 |
7 |
|
8 |
eutils.eclass: Sanitize exeopts |
9 |
|
10 |
Sanitize exeopts when calling newexe, in order to avoid prior insopts |
11 |
calls accidentally affecting make_wrapper. |
12 |
|
13 |
eclass/eutils.eclass | 1 + |
14 |
1 file changed, 1 insertion(+) |
15 |
|
16 |
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass |
17 |
index 7840afbb77b..81621df78e6 100644 |
18 |
--- a/eclass/eutils.eclass |
19 |
+++ b/eclass/eutils.eclass |
20 |
@@ -172,6 +172,7 @@ make_wrapper() { |
21 |
|
22 |
if [[ -n ${path} ]] ; then |
23 |
( |
24 |
+ exeopts -m 0755 |
25 |
exeinto "${path}" |
26 |
newexe "${tmpwrapper}" "${wrapper}" |
27 |
) || die |