1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/python-r1.eclass | 4 +++- |
4 |
1 file changed, 3 insertions(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
7 |
index d464d3ef8f8a..08d3b744af81 100644 |
8 |
--- a/eclass/python-r1.eclass |
9 |
+++ b/eclass/python-r1.eclass |
10 |
@@ -846,7 +846,9 @@ python_replicate_script() { |
11 |
# install the wrappers |
12 |
local f |
13 |
for f; do |
14 |
- _python_ln_rel "${ED%/}/usr/lib/python-exec/python-exec2" "${f}" || die |
15 |
+ local dosym=dosym |
16 |
+ [[ ${EAPI} == [67] ]] && dosym=dosym8 |
17 |
+ "${dosym}" -r /usr/lib/python-exec/python-exec2 "${f#${ED}}" |
18 |
done |
19 |
} |
20 |
|
21 |
-- |
22 |
2.32.0 |