mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Correct if statement in get_tool_version_from_legacy_file function.
This commit is contained in:
parent
2e17f9eb03
commit
dcfa52e2ca
@ -137,7 +137,7 @@ get_tool_version_from_legacy_file() {
|
||||
local legacy_version_script="${plugin_path}/bin/get-version-from-legacy-file"
|
||||
check_if_plugin_exists $plugin_path
|
||||
|
||||
if [ -f $legacy_tool_version ]; then
|
||||
if [ -f $legacy_version_script ]; then
|
||||
local legacy_tool_version=$(bash $legacy_version_script $directory)
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user