It currently defaults to EPYTHON, which might not even be defined yet. The "impl" arg defaults to EPYTHON anyway.
Signed-off-by: James Le Cuirot <[email protected]> --- eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 1eca0764a202..1a549f49f3f2 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -980,8 +980,8 @@ python_doheader() { python_wrapper_setup() { debug-print-function ${FUNCNAME} "${@}" - local workdir=${1:-${T}/${EPYTHON}} local impl=${2:-${EPYTHON}} + local workdir=${1:-${T}/${impl}} [[ ${workdir} ]] || die "${FUNCNAME}: no workdir specified." [[ ${impl} ]] || die "${FUNCNAME}: no impl nor EPYTHON specified." -- 2.19.2
