eutils.eclass: Sanitize exeopts
authorMichał Górny <mgorny@gentoo.org>
Fri, 8 Jun 2018 07:13:40 +0000 (09:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 13 Jun 2018 08:09:56 +0000 (10:09 +0200)
Sanitize exeopts when calling newexe, in order to avoid prior insopts
calls accidentally affecting make_wrapper.

eclass/eutils.eclass

index 7840afbb77b98339b79904f9f2a574b532aa995f..81621df78e63ee126a3b334d9ef7a3e91d000bf5 100644 (file)
@@ -172,6 +172,7 @@ make_wrapper() {
 
        if [[ -n ${path} ]] ; then
                (
+               exeopts -m 0755
                exeinto "${path}"
                newexe "${tmpwrapper}" "${wrapper}"
                ) || die