* [gentoo-commits] repo/gentoo:master commit in: eclass/
@ 2015-11-28 19:09 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2015-11-28 19:09 UTC (permalink / raw
To: gentoo-commits
commit: 0951efe8cb419d55cddfd7dee77bc538bf9cc25b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 18:44:22 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 19:09:06 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0951efe8
python-utils-r1.eclass: Replace local INSDESTTREE with subshells
Replace the 'local INSDESTTREE' hacks (which are PMS-valid yet
deprecated) with safer subshells.
eclass/python-utils-r1.eclass | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index cb70ee8..f27fdf0 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -805,10 +805,10 @@ python_domodule() {
d=${PYTHON_SITEDIR#${EPREFIX}}/${python_moduleroot}
fi
- local INSDESTTREE
-
- insinto "${d}"
- doins -r "${@}" || die
+ (
+ insinto "${d}"
+ doins -r "${@}" || die
+ )
python_optimize "${ED}/${d}"
}
@@ -836,10 +836,10 @@ python_doheader() {
d=${PYTHON_INCLUDEDIR#${EPREFIX}}
- local INSDESTTREE
-
- insinto "${d}"
- doins -r "${@}" || die
+ (
+ insinto "${d}"
+ doins -r "${@}" || die
+ )
}
# @FUNCTION: python_wrapper_setup
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-28 19:09 99% [gentoo-commits] repo/gentoo:master commit in: eclass/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox