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 4/8] python-r1.eclass: Sanitize exeopts
Date: Fri, 08 Jun 2018 07:21:22
Message-Id: 20180608071916.25716-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/8] insopts/exeopts sanitization 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..789cbe1f5f2c 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
16 exeinto "${PYTHON_SCRIPTDIR#${EPREFIX}}"
17 doexe "${files[@]}"
18 )
19 --
20 2.18.0.rc1