diff --git a/libexec/tgenv-version-name b/libexec/tgenv-version-name index 76a3170..1a18ce5 100755 --- a/libexec/tgenv-version-name +++ b/libexec/tgenv-version-name @@ -5,8 +5,7 @@ set -e [ -n "${TGENV_DEBUG}" ] && set -x source "${TGENV_ROOT}/libexec/helpers" -[ -d "${TGENV_ROOT}/versions" ] \ - || mkdir -p ${TGENV_ROOT}/versions +mkdir -p ${TGENV_ROOT}/versions TGENV_VERSION_FILE="$(tgenv-version-file)" TGENV_VERSION="$(cat "${TGENV_VERSION_FILE}" || true)"