---
gx86/eclass/distutils-r1.eclass | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
index ce1b6f4..e83a85a 100644
--- a/gx86/eclass/distutils-r1.eclass
+++ b/gx86/eclass/distutils-r1.eclass
@@ -266,22 +266,8 @@ distutils-r1_python_install_all() {
debug-print "${FUNCNAME}: found executable at
${f#${D}/}"
local wrapf=${f%-${EPYTHON}}
- debug-print "${FUNCNAME}: will link wrapper to
${wrapf#${D}/}"
- local wrapfrom
- case "${f#${D}/}" in
- usr/bin*)
- wrapfrom=
- ;;
- usr/sbin*)
- wrapfrom=../bin/
- ;;
- *)
- wrapfrom=../usr/bin/
- ;;
- esac
- debug-print "${FUNCNAME}: (from ${wrapfrom}python-exec)"
-
- ln -s ${wrapfrom}python-exec "${wrapf}" || die
+
+ _python_ln_rel "${ED}"/usr/bin/python-exec "${wrapf}"
|| die
fi
done
}
--
1.7.12.4