mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-05 05:17:04 -08:00
python*-r1.eclass: Replace non-portable use of 'declare -g'
Replace uses of 'declare -g -r' (bash-4.2+) with 'readonly'. Reported by Arfrever.
This commit is contained in:
@@ -40,7 +40,7 @@ inherit toolchain-funcs
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# All supported Python implementations, most preferred last.
|
||||
declare -g -r _PYTHON_ALL_IMPLS=(
|
||||
readonly _PYTHON_ALL_IMPLS=(
|
||||
python2_7
|
||||
python3_3 python3_4 python3_5
|
||||
pypy pypy3
|
||||
|
||||
Reference in New Issue
Block a user