@@ -2,7 +2,7 @@ shim_command() {
22 local plugin_name=$1
33 local executable_path=$2
44 local plugin_path=$( get_plugin_path $plugin_name )
5- check_if_plugin_exists $plugin_path
5+ check_if_plugin_exists $plugin_name
66 ensure_shims_dir
77
88 generate_shim_for_executable $plugin_name $executable_path
@@ -12,7 +12,7 @@ reshim_command() {
1212 local plugin_name=$1
1313 local full_version=$2
1414 local plugin_path=$( get_plugin_path $plugin_name )
15- check_if_plugin_exists $plugin_path
15+ check_if_plugin_exists $plugin_name
1616 ensure_shims_dir
1717
1818 if [ " $full_version " != " " ]; then
@@ -62,7 +62,7 @@ generate_shim_for_executable() {
6262 local executable=$2
6363 local plugin_path=$( get_plugin_path $plugin_name )
6464
65- check_if_plugin_exists $plugin_path
65+ check_if_plugin_exists $plugin_name
6666
6767 IFS=' :' read -a version_info <<< " $full_version"
6868 if [ " ${version_info[0]} " = " ref" ]; then
@@ -81,7 +81,7 @@ generate_shims_for_version() {
8181 local plugin_name=$1
8282 local full_version=$2
8383 local plugin_path=$( get_plugin_path $plugin_name )
84- check_if_plugin_exists $plugin_path
84+ check_if_plugin_exists $plugin_name
8585
8686 IFS=' :' read -a version_info <<< " $full_version"
8787 if [ " ${version_info[0]} " = " ref" ]; then
0 commit comments