summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-06-08 09:14:39 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-13 10:09:57 +0200
commit45fd9de0048a71d14e03d48bc2cf124665acfff7 (patch)
tree14518840489fba2e209d29c1365af965ea0bfe8f /eclass
parenteutils.eclass: Sanitize exeopts (diff)
downloadgentoo-45fd9de0048a71d14e03d48bc2cf124665acfff7.tar.gz
gentoo-45fd9de0048a71d14e03d48bc2cf124665acfff7.tar.bz2
gentoo-45fd9de0048a71d14e03d48bc2cf124665acfff7.zip
python-r1.eclass: Sanitize exeopts
Sanitize exeopts when calling doexe, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 8a8adb449cc..097a965272d 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -810,6 +810,7 @@ python_replicate_script() {
python_export PYTHON_SCRIPTDIR
(
+ exeopts -m 0755
exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
doexe "${files[@]}"
)