1 |
--- |
2 |
gx86/eclass/distutils-r1.eclass | 18 ++---------------- |
3 |
1 file changed, 2 insertions(+), 16 deletions(-) |
4 |
|
5 |
diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass |
6 |
index ce1b6f4..e83a85a 100644 |
7 |
--- a/gx86/eclass/distutils-r1.eclass |
8 |
+++ b/gx86/eclass/distutils-r1.eclass |
9 |
@@ -266,22 +266,8 @@ distutils-r1_python_install_all() { |
10 |
debug-print "${FUNCNAME}: found executable at ${f#${D}/}" |
11 |
|
12 |
local wrapf=${f%-${EPYTHON}} |
13 |
- debug-print "${FUNCNAME}: will link wrapper to ${wrapf#${D}/}" |
14 |
- local wrapfrom |
15 |
- case "${f#${D}/}" in |
16 |
- usr/bin*) |
17 |
- wrapfrom= |
18 |
- ;; |
19 |
- usr/sbin*) |
20 |
- wrapfrom=../bin/ |
21 |
- ;; |
22 |
- *) |
23 |
- wrapfrom=../usr/bin/ |
24 |
- ;; |
25 |
- esac |
26 |
- debug-print "${FUNCNAME}: (from ${wrapfrom}python-exec)" |
27 |
- |
28 |
- ln -s ${wrapfrom}python-exec "${wrapf}" || die |
29 |
+ |
30 |
+ _python_ln_rel "${ED}"/usr/bin/python-exec "${wrapf}" || die |
31 |
fi |
32 |
done |
33 |
} |
34 |
-- |
35 |
1.7.12.4 |