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