mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Update install command
This commit is contained in:
parent
fcf7c0d41d
commit
a25e099de0
@ -12,7 +12,7 @@ install_command() {
|
||||
|
||||
install_local_tool_versions() {
|
||||
if [ -f $(pwd)/.tool-versions ]; then
|
||||
local asdf_versions_path=$(pwd)/.tool-versions
|
||||
local qwer_versions_path=$(pwd)/.tool-versions
|
||||
|
||||
local read_done=false
|
||||
until $read_done; do
|
||||
@ -27,7 +27,7 @@ install_local_tool_versions() {
|
||||
local t_version=$(echo "${tool_info[1]}" | xargs)
|
||||
|
||||
install_command $t_name $t_version
|
||||
done < $asdf_versions_path
|
||||
done < $qwer_versions_path
|
||||
else
|
||||
echo "Either specify a tool & version in the command"
|
||||
echo "OR add .tool-versions file in this directory"
|
||||
|
Loading…
Reference in New Issue
Block a user