Sanitize exeopts when calling doexe, in order to avoid prior insopts
calls accidentally affecting do*/new* functions defined by the eclass.
---
 eclass/python-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 8a8adb449cc3..789cbe1f5f2c 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -810,6 +810,7 @@ python_replicate_script() {
                python_export PYTHON_SCRIPTDIR
 
                (
+                       exeopts
                        exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
                        doexe "${files[@]}"
                )
-- 
2.18.0.rc1


Reply via email to