Skip to content

Commit bbac1ca

Browse files
authored
Update tfenv-version-name
Fixing bad merge on TFENV_ROOT/TFENV_CONFIG_DIR
1 parent 3ecdd41 commit bbac1ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libexec/tfenv-version-name

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if [[ "${TFENV_VERSION}" =~ ^latest.*$ ]]; then
9191
fi;
9292

9393
declare local_version='';
94-
if [[ -d "${TFENV_ROOT}/versions" ]]; then
94+
if [[ -d "${TFENV_CONFIG_DIR}/versions" ]]; then
9595
local_version="$(\find "${TFENV_CONFIG_DIR}/versions/" -type d -exec basename {} \; \
9696
| tail -n +2 \
9797
| sort -t'.' -k 1nr,1 -k 2nr,2 -k 3nr,3 \

0 commit comments

Comments
 (0)