scripts/tools in rvm-1.0.4 vs scripts/tools in rvm-1.0.5
- old
+ new
@@ -12,11 +12,11 @@
__rvm_environment_identifier
}
tools_path_identifier() {
if [[ -z "$1" || ! -d "$1" ]]; then
- echo "Usage: rvm tools path-identifier 'path-to-heck'"
+ echo "Usage: rvm tools path-identifier 'path-to-check'"
return 1
fi
source "$rvm_scripts_path/rvm"
builtin cd "$1"
@@ -38,10 +38,10 @@
done
}
args=($*)
action="${args[0]}"
-args="$(echo ${args[@]:1}) " # Strip trailing / leading / extra spacing.
+args="$(echo ${args[@]:1})" # Strip trailing / leading / extra spacing.
[[ -z "$action" ]] && usage
case "$action" in
identifier) tools_identifier ;;