1 |
It currently defaults to EPYTHON, which might not even be defined |
2 |
yet. The "impl" arg defaults to EPYTHON anyway. |
3 |
|
4 |
Signed-off-by: James Le Cuirot <chewi@g.o> |
5 |
--- |
6 |
eclass/python-utils-r1.eclass | 2 +- |
7 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8 |
|
9 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
10 |
index 1eca0764a202..1a549f49f3f2 100644 |
11 |
--- a/eclass/python-utils-r1.eclass |
12 |
+++ b/eclass/python-utils-r1.eclass |
13 |
@@ -980,8 +980,8 @@ python_doheader() { |
14 |
python_wrapper_setup() { |
15 |
debug-print-function ${FUNCNAME} "${@}" |
16 |
|
17 |
- local workdir=${1:-${T}/${EPYTHON}} |
18 |
local impl=${2:-${EPYTHON}} |
19 |
+ local workdir=${1:-${T}/${impl}} |
20 |
|
21 |
[[ ${workdir} ]] || die "${FUNCNAME}: no workdir specified." |
22 |
[[ ${impl} ]] || die "${FUNCNAME}: no impl nor EPYTHON specified." |
23 |
-- |
24 |
2.19.2 |