mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-04 17:07:08 -08:00
python-utils-r1.eclass: Replace local INSDESTTREE with subshells
Replace the 'local INSDESTTREE' hacks (which are PMS-valid yet deprecated) with safer subshells.
This commit is contained in:
@@ -805,10 +805,10 @@ python_domodule() {
|
||||
d=${PYTHON_SITEDIR#${EPREFIX}}/${python_moduleroot}
|
||||
fi
|
||||
|
||||
local INSDESTTREE
|
||||
|
||||
insinto "${d}"
|
||||
doins -r "${@}" || die
|
||||
(
|
||||
insinto "${d}"
|
||||
doins -r "${@}" || die
|
||||
)
|
||||
|
||||
python_optimize "${ED}/${d}"
|
||||
}
|
||||
@@ -836,10 +836,10 @@ python_doheader() {
|
||||
|
||||
d=${PYTHON_INCLUDEDIR#${EPREFIX}}
|
||||
|
||||
local INSDESTTREE
|
||||
|
||||
insinto "${d}"
|
||||
doins -r "${@}" || die
|
||||
(
|
||||
insinto "${d}"
|
||||
doins -r "${@}" || die
|
||||
)
|
||||
}
|
||||
|
||||
# @FUNCTION: python_wrapper_setup
|
||||
|
||||
Reference in New Issue
Block a user