From a01f177cf8fb207f95e11400d73911aec9b084b1 Mon Sep 17 00:00:00 2001 From: Michael Newman Date: Sat, 29 Aug 2026 07:59:05 -0400 Subject: [PATCH] Fix typo --- libexec/pyenv-version-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/pyenv-version-file b/libexec/pyenv-version-file index 33548571..eadb0c1c 100755 --- a/libexec/pyenv-version-file +++ b/libexec/pyenv-version-file @@ -39,7 +39,7 @@ if [ -n "$target_dir" ]; then find_local_version_file "$target_dir" else # 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}" || { [ "$PYENV_DIR" != "$PWD" ] && find_local_version_file "$PWD" } || echo "${PYENV_ROOT}/version"