scripts/cd in rvm-0.1.40 vs scripts/cd in rvm-0.1.41

- old
+ new

@@ -23,9 +23,10 @@ if [[ -z "$rvm_previous_environment" ]] ; then rvm_previous_environment="$(__rvm_environment_identifier)" fi rvm_rvmrc_cwd="$cwd" source "$cwd/.rvmrc" + cwd=$(dirname "$cwd") fi break else cwd=$(dirname "$cwd") fi