mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
distutils-r1.eclass: Use 'dosym -r' in EAPI 8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -775,8 +775,10 @@ _distutils-r1_wrap_scripts() {
|
||||
local basename=${f##*/}
|
||||
|
||||
debug-print "${FUNCNAME}: installing wrapper at ${bindir}/${basename}"
|
||||
_python_ln_rel "${ED%/}"/usr/lib/python-exec/python-exec2 \
|
||||
"${D%/}${bindir}/${basename}" || die
|
||||
local dosym=dosym
|
||||
[[ ${EAPI} == [67] ]] && dosym=dosym8
|
||||
"${dosym}" -r /usr/lib/python-exec/python-exec2 \
|
||||
"${bindir#${EPREFIX}}/${basename}"
|
||||
done
|
||||
|
||||
for f in "${non_python_files[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user