--- gx86/eclass/distutils-r1.eclass | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass index e83a85a..bab7dbc 100644 --- a/gx86/eclass/distutils-r1.eclass +++ b/gx86/eclass/distutils-r1.eclass @@ -253,13 +253,8 @@ distutils-r1_python_install_all() { # note: keep in sync with ...rename_scripts() # also, we assume that each script is installed for all impls - local impl EPYTHON PYTHON - for impl in "${PYTHON_COMPAT[@]}"; do - if use "python_targets_${impl}"; then - python_export "${impl}" EPYTHON - break - fi - done + local EPYTHON + python_export_best EPYTHON for f in "${D}"/{bin,sbin,usr/bin,usr/sbin,games/bin}/*-"${EPYTHON}"; do if [[ -x ${f} ]]; then -- 1.7.12.4