mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
python-single-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP
Rename local PYTHON_USEDEP variable to avoid collisions with read-only global variable.
This commit is contained in:
@@ -388,8 +388,8 @@ python_gen_cond_dep() {
|
||||
# (since python_gen_usedep() will not return ${PYTHON_USEDEP}
|
||||
# the code is run at most once)
|
||||
if [[ ${dep} == *'${PYTHON_USEDEP}'* ]]; then
|
||||
local PYTHON_USEDEP=$(python_gen_usedep "${@}")
|
||||
dep=${dep//\$\{PYTHON_USEDEP\}/${PYTHON_USEDEP}}
|
||||
local usedep=$(python_gen_usedep "${@}")
|
||||
dep=${dep//\$\{PYTHON_USEDEP\}/${usedep}}
|
||||
fi
|
||||
|
||||
matches+=( "python_single_target_${impl}? ( ${dep} )" )
|
||||
|
||||
Reference in New Issue
Block a user