From: Michał Górny Date: Thu, 3 May 2018 14:05:11 +0000 (+0200) Subject: distutils-r1.eclass: Call python via ${EPYTHON}, not full path X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2bb9963c6c6c29fa4f732db9935e3a1028bb8566;p=gentoo.git distutils-r1.eclass: Call python via ${EPYTHON}, not full path --- diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index ede30b280863..26fa0069a73d 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -231,7 +231,7 @@ fi # @USAGE: [...] # @DESCRIPTION: # Run setup.py using currently selected Python interpreter -# (if ${PYTHON} is set; fallback 'python' otherwise). +# (if ${EPYTHON} is set; fallback 'python' otherwise). # # setup.py will be passed the following, in order: # 1. ${mydistutilsargs[@]} @@ -250,7 +250,7 @@ esetup.py() { [[ ${BUILD_DIR} ]] && _distutils-r1_create_setup_cfg - set -- "${PYTHON:-python}" setup.py "${mydistutilsargs[@]}" "${@}" + set -- "${EPYTHON:-python}" setup.py "${mydistutilsargs[@]}" "${@}" echo "${@}" >&2 "${@}" || die "${die_args[@]}"