summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-06-08 09:13:40 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-13 10:09:56 +0200
commit85f9afe7a228bbb9ead53e773e70e600b541417f (patch)
treeecfeef2ffb2d3e93c38a03204d86f14b9e09a582
parentdesktop.eclass: Sanitize insopts (diff)
downloadgentoo-85f9afe7a228bbb9ead53e773e70e600b541417f.tar.gz
gentoo-85f9afe7a228bbb9ead53e773e70e600b541417f.tar.bz2
gentoo-85f9afe7a228bbb9ead53e773e70e600b541417f.zip
eutils.eclass: Sanitize exeopts
Sanitize exeopts when calling newexe, in order to avoid prior insopts calls accidentally affecting make_wrapper.
-rw-r--r--eclass/eutils.eclass1
1 files changed, 1 insertions, 0 deletions
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