mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Fix syntax error
This commit is contained in:
parent
4e31668c21
commit
23559ee6d1
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
DEFINITION_PREFIX="${DEFINITION%%:*}"
|
DEFINITION_PREFIX="${DEFINITION%%:*}"
|
||||||
DEFINITION_TYPE="${DEFINITION_PREFIX%%-*}" # TODO: support non-CPython versions
|
DEFINITION_TYPE="${DEFINITION_PREFIX%%-*}" # TODO: support non-CPython versions
|
||||||
if [[ "${DEFINITION}" != "${DEFINITION_PREFIX}" ]]; then
|
if [[ "${DEFINITION}" != "${DEFINITION_PREFIX}" ]]; then
|
||||||
DEFINITION_CANDIDATES=\
|
DEFINITION_CANDIDATES=(\
|
||||||
($(python-build --definitions | \
|
$(python-build --definitions | \
|
||||||
grep -F "${DEFINITION_PREFIX}" | \
|
grep -F "${DEFINITION_PREFIX}" | \
|
||||||
grep "^${DEFINITION_TYPE}" | \
|
grep "^${DEFINITION_TYPE}" | \
|
||||||
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/(b|rc)[0-9]+$/d' | \
|
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/(b|rc)[0-9]+$/d' | \
|
||||||
|
|
Loading…
Reference in a new issue