1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/python-r1.eclass | 8 +++++++- |
4 |
1 file changed, 7 insertions(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass |
7 |
index d464d3ef8f8a..77709bfe7591 100644 |
8 |
--- a/eclass/python-r1.eclass |
9 |
+++ b/eclass/python-r1.eclass |
10 |
@@ -846,7 +846,13 @@ 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 |
+ if [[ ${EAPI} != [67] ]]; then |
16 |
+ dosym -r /usr/lib/python-exec/python-exec2 \ |
17 |
+ "${f#${ED}}" |
18 |
+ else |
19 |
+ _python_ln_rel "${ED%/}/usr/lib/python-exec/python-exec2" \ |
20 |
+ "${f}" || die |
21 |
+ fi |
22 |
done |
23 |
} |
24 |
|
25 |
-- |
26 |
2.32.0 |