diff --git a/scripts/shared_functions.sh b/scripts/shared_functions.sh index f693ada..37b8ee7 100644 --- a/scripts/shared_functions.sh +++ b/scripts/shared_functions.sh @@ -38,7 +38,7 @@ shared_plugin_name() { } shared_plugin_path() { - local plugin=$1 + local plugin="$1" local plugin_name="$(shared_plugin_name "$plugin")" echo "${SHARED_TPM_PATH}${plugin_name}/" } diff --git a/scripts/update_plugin_prompt_handler.sh b/scripts/update_plugin_prompt_handler.sh index 9a7dc10..fa34992 100755 --- a/scripts/update_plugin_prompt_handler.sh +++ b/scripts/update_plugin_prompt_handler.sh @@ -2,7 +2,7 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -if [ $# -eq 0]; then +if [ $# -eq 0 ]; then exit 0 fi