From: Michał Górny Date: Fri, 8 Jun 2018 07:13:40 +0000 (+0200) Subject: eutils.eclass: Sanitize exeopts X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=85f9afe7a228bbb9ead53e773e70e600b541417f;p=gentoo.git eutils.eclass: Sanitize exeopts Sanitize exeopts when calling newexe, in order to avoid prior insopts calls accidentally affecting make_wrapper. --- diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 7840afbb77b9..81621df78e63 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