mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 12:03:33 +00: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_TYPE="${DEFINITION_PREFIX%%-*}" # TODO: support non-CPython versions
|
||||
if [[ "${DEFINITION}" != "${DEFINITION_PREFIX}" ]]; then
|
||||
DEFINITION_CANDIDATES=\
|
||||
($(python-build --definitions | \
|
||||
DEFINITION_CANDIDATES=(\
|
||||
$(python-build --definitions | \
|
||||
grep -F "${DEFINITION_PREFIX}" | \
|
||||
grep "^${DEFINITION_TYPE}" | \
|
||||
sed -E -e '/-dev$/d' -e '/-src$/d' -e '/(b|rc)[0-9]+$/d' | \
|
||||
|
|
Loading…
Reference in a new issue