Address shellcheck warnings

This commit is contained in:
Trevor Brown 2019-01-05 11:10:59 -05:00
parent 8bcf8caba4
commit 8f242e7ec2
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ which_command() {
continue
fi
install_path=$(find_install_path "$plugin_name" "$version")
executable_path="$(get_custom_executable_path "$plugin_path" "$install_path" "$executable_path")"
full_executable_path=$(get_executable_path "$plugin_name" "$version" "$executable_path")
location=$(find -L "$full_executable_path" -maxdepth 4 -name "$command" -type f -perm -u+x | sed -e 's|//|/|g')

View File

@ -231,7 +231,7 @@ get_custom_executable_path() {
executable_path="$("${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$executable_path")"
fi
echo $executable_path
echo "$executable_path"
}
get_executable_path() {