scripts/tools in rvm-1.0.1 vs scripts/tools in rvm-1.0.2

- old
+ new

@@ -15,18 +15,16 @@ tools_path_identifier() { if [[ -z "$1" || ! -d "$1" ]]; then echo "Usage: rvm tools path-identifier 'path-to-heck'" return 1 fi - # Change to the directory. Do in subshell to keep the env correct. - ( - source "$rvm_scripts_path/rvm" - builtin cd "$1" - rvm_promptless=1 __rvm_project_rvmrc - rvmrc_result="$?" - __rvm_environment_identifier - exit $rvmrc_result - ) + + source "$rvm_scripts_path/rvm" + builtin cd "$1" + rvm_promptless=1 __rvm_project_rvmrc + rvmrc_result="$?" + __rvm_environment_identifier + exit $rvmrc_result } tools_strings() { for ruby_name in "$@"; do __rvm_unset_ruby_variables