Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH v2 4/8] python-r1.eclass: Sanitize exeopts
Date: Fri, 08 Jun 2018 12:02:09
Message-Id: 20180608120027.8976-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 1/8] bash-completion-r1.eclass: Sanitize insopts by "Michał Górny"
1 Sanitize exeopts when calling doexe, in order to avoid prior insopts
2 calls accidentally affecting do*/new* functions defined by the eclass.
3 ---
4 eclass/python-r1.eclass | 1 +
5 1 file changed, 1 insertion(+)
6
7 diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
8 index 8a8adb449cc3..097a965272d8 100644
9 --- a/eclass/python-r1.eclass
10 +++ b/eclass/python-r1.eclass
11 @@ -810,6 +810,7 @@ python_replicate_script() {
12 python_export PYTHON_SCRIPTDIR
13
14 (
15 + exeopts -m 0755
16 exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
17 doexe "${files[@]}"
18 )
19 --
20 2.18.0.rc1