소스 검색

`declare -ar` causes "readonly variable" error in Bash 3.2

Fixes https://github.com/pyenv/pyenv/issues/2278
pull/2292/head
Ivan Pozdeev 4 년 전
부모
커밋
bfe54c9459
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +1
    -1
      plugins/python-build/share/python-build/pypy2.7-7.3.8
  2. +1
    -1
      plugins/python-build/share/python-build/pypy3.7-7.3.8
  3. +1
    -1
      plugins/python-build/share/python-build/pypy3.8-7.3.8
  4. +1
    -1
      plugins/python-build/share/python-build/pypy3.9-7.3.8

+ 1
- 1
plugins/python-build/share/python-build/pypy2.7-7.3.8 파일 보기

@ -75,7 +75,7 @@ function pypy_pkg_data {
}
# determine command, package directory, url+hash
declare -ar pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
declare -a pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
# install
${pd[0]} "${pd[1]}" "${pd[2]}" 'pypy' "verify_py${PYVER//./}" 'ensurepip'

+ 1
- 1
plugins/python-build/share/python-build/pypy3.7-7.3.8 파일 보기

@ -75,7 +75,7 @@ function pypy_pkg_data {
}
# determine command, package directory, url+hash
declare -ar pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
declare -a pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
# install
${pd[0]} "${pd[1]}" "${pd[2]}" 'pypy' "verify_py${PYVER//./}" 'ensurepip'

+ 1
- 1
plugins/python-build/share/python-build/pypy3.8-7.3.8 파일 보기

@ -75,7 +75,7 @@ function pypy_pkg_data {
}
# determine command, package directory, url+hash
declare -ar pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
declare -a pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
# install
${pd[0]} "${pd[1]}" "${pd[2]}" 'pypy' "verify_py${PYVER//./}" 'ensurepip'

+ 1
- 1
plugins/python-build/share/python-build/pypy3.9-7.3.8 파일 보기

@ -75,7 +75,7 @@ function pypy_pkg_data {
}
# determine command, package directory, url+hash
declare -ar pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
declare -a pd="$(pypy_pkg_data "$(pypy_architecture 2>/dev/null || true)")"
# install
${pd[0]} "${pd[1]}" "${pd[2]}" 'pypy' "verify_py${PYVER//./}" 'ensurepip'

불러오는 중...
취소
저장