Correct if statement in get_tool_version_from_legacy_file function.

This commit is contained in:
Trevor Brown 2016-02-13 14:10:58 -05:00
parent 2e17f9eb03
commit dcfa52e2ca

View File

@ -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