We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ecdd41 commit bbac1caCopy full SHA for bbac1ca
1 file changed
libexec/tfenv-version-name
@@ -91,7 +91,7 @@ if [[ "${TFENV_VERSION}" =~ ^latest.*$ ]]; then
91
fi;
92
93
declare local_version='';
94
- if [[ -d "${TFENV_ROOT}/versions" ]]; then
+ if [[ -d "${TFENV_CONFIG_DIR}/versions" ]]; then
95
local_version="$(\find "${TFENV_CONFIG_DIR}/versions/" -type d -exec basename {} \; \
96
| tail -n +2 \
97
| sort -t'.' -k 1nr,1 -k 2nr,2 -k 3nr,3 \
0 commit comments