python-r1.eclass: Sanitize exeopts
authorMichał Górny <mgorny@gentoo.org>
Fri, 8 Jun 2018 07:14:39 +0000 (09:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 13 Jun 2018 08:09:57 +0000 (10:09 +0200)
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

index 8a8adb449cc36b863977d3c9bac73de7e7426253..097a965272d8172e2d46fcc228f87927dcb42f8d 100644 (file)
@@ -810,6 +810,7 @@ python_replicate_script() {
                python_export PYTHON_SCRIPTDIR
 
                (
+                       exeopts -m 0755
                        exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
                        doexe "${files[@]}"
                )