mirror of
https://github.com/pyenv/pyenv.git
synced 2026-10-02 23:41:06 +09:00
Fix typo
This commit is contained in:
parent
4733cca31b
commit
981559003f
@ -39,7 +39,7 @@ if [ -n "$target_dir" ]; then
|
|||||||
find_local_version_file "$target_dir"
|
find_local_version_file "$target_dir"
|
||||||
else
|
else
|
||||||
# In tests, PYENV_DIR is not set, ultimately leading to "cd: null directory" in OpenSUSE
|
# In tests, PYENV_DIR is not set, ultimately leading to "cd: null directory" in OpenSUSE
|
||||||
# While most `cd` implemntations treat an empty argument the same as missing, that's still wrong
|
# While most `cd` implementations treat an empty argument the same as missing, that's still wrong
|
||||||
find_local_version_file "${PYENV_DIR:=$PWD}" || {
|
find_local_version_file "${PYENV_DIR:=$PWD}" || {
|
||||||
[ "$PYENV_DIR" != "$PWD" ] && find_local_version_file "$PWD"
|
[ "$PYENV_DIR" != "$PWD" ] && find_local_version_file "$PWD"
|
||||||
} || echo "${PYENV_ROOT}/version"
|
} || echo "${PYENV_ROOT}/version"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user