Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix call to match() in __rvm_remove_binaries()

Signed-off-by: Craig S. Cottingham <craig.cottingham@gmail.com>
  • Loading branch information...
commit 714bd0d6586cab5bc239ab207c05c33ed944c3b7 1 parent 3957545
@CraigCottingham CraigCottingham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/manage
View
4 scripts/manage
@@ -1785,14 +1785,14 @@ __rvm_remove_binaries()
rvm_log "Removing $rvm_ruby_string binaries..."
# Iterate over all binaries and check for symlinked wrappers etc.
- local binary_name binaries full_patch_path
+ local binary_name binaries full_binary_path
binaries=($(find "${rvm_bin_path}" -maxdepth 1 -mindepth 1 "${name_opt}" "*$rvm_ruby_string*" ))
for full_binary_path in "${binaries[@]}"
do
if [[ -L "$full_binary_path" ]] &&
- match "$(readlink "$full_binary_path")" "$rvm_ruby_string"
+ "$rvm_scripts_path/match" "$(readlink "$full_binary_path")" "$rvm_ruby_string"
then
rm -f "$full_binary_path"
fi
Please sign in to comment.
Something went wrong with that request. Please try again.