diff --git a/lib/utils.sh b/lib/utils.sh index ffa3b152..87ed3c76 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -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