Skip to content

Commit

Permalink
Merge pull request #1 from alextodicescu/update-version-condition
Browse files Browse the repository at this point in the history
update version condition for tgenv-install
  • Loading branch information
alextodicescu authored Aug 2, 2019
2 parents 17ac540 + c487cc0 commit 625cd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/tgenv-install
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ else
fi

[ -n "${version}" ] || error_and_die "Version is not specified"
version="$(tgenv-list-remote | grep -e "${regex}" | head -n 1)"
version="$(tgenv-list-remote-all | grep -e "${regex}" | head -n 1)"
[ -n "${version}" ] || error_and_die "No versions matching '${1}' found in remote"

dst_path="${TGENV_ROOT}/versions/${version}"
Expand Down

0 comments on commit 625cd6a

Please sign in to comment.