1 |
Replace the 'local INSDESTTREE' hacks (which are PMS-valid yet |
2 |
deprecated) with safer subshells. |
3 |
--- |
4 |
eclass/python-utils-r1.eclass | 16 ++++++++-------- |
5 |
1 file changed, 8 insertions(+), 8 deletions(-) |
6 |
|
7 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
8 |
index 9f3c750..e690e09 100644 |
9 |
--- a/eclass/python-utils-r1.eclass |
10 |
+++ b/eclass/python-utils-r1.eclass |
11 |
@@ -802,10 +802,10 @@ python_domodule() { |
12 |
d=${PYTHON_SITEDIR#${EPREFIX}}/${python_moduleroot} |
13 |
fi |
14 |
|
15 |
- local INSDESTTREE |
16 |
- |
17 |
- insinto "${d}" |
18 |
- doins -r "${@}" || die |
19 |
+ ( |
20 |
+ insinto "${d}" |
21 |
+ doins -r "${@}" || die |
22 |
+ ) |
23 |
|
24 |
python_optimize "${ED}/${d}" |
25 |
} |
26 |
@@ -833,10 +833,10 @@ python_doheader() { |
27 |
|
28 |
d=${PYTHON_INCLUDEDIR#${EPREFIX}} |
29 |
|
30 |
- local INSDESTTREE |
31 |
- |
32 |
- insinto "${d}" |
33 |
- doins -r "${@}" || die |
34 |
+ ( |
35 |
+ insinto "${d}" |
36 |
+ doins -r "${@}" || die |
37 |
+ ) |
38 |
} |
39 |
|
40 |
# @FUNCTION: python_wrapper_setup |
41 |
-- |
42 |
2.6.3 |