1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/distutils-r1.eclass | 6 ++++-- |
4 |
1 file changed, 4 insertions(+), 2 deletions(-) |
5 |
|
6 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
7 |
index e74a68007179..7501f6540bb6 100644 |
8 |
--- a/eclass/distutils-r1.eclass |
9 |
+++ b/eclass/distutils-r1.eclass |
10 |
@@ -776,8 +776,10 @@ _distutils-r1_wrap_scripts() { |
11 |
local basename=${f##*/} |
12 |
|
13 |
debug-print "${FUNCNAME}: installing wrapper at ${bindir}/${basename}" |
14 |
- _python_ln_rel "${path}${EPREFIX}"/usr/lib/python-exec/python-exec2 \ |
15 |
- "${path}${bindir}/${basename}" || die |
16 |
+ local dosym=dosym |
17 |
+ [[ ${EAPI} == [67] ]] && dosym=dosym8 |
18 |
+ "${dosym}" -r "${path#${D}}"/usr/lib/python-exec/python-exec2 \ |
19 |
+ "${path#${D}}${bindir#${EPREFIX}}/${basename}" |
20 |
done |
21 |
|
22 |
for f in "${non_python_files[@]}"; do |
23 |
-- |
24 |
2.32.0 |