scripts/rvm in rvm-1.0.15 vs scripts/rvm in rvm-1.0.17

- old
+ new

@@ -117,7 +117,8 @@ unset rvm_prefix_needs_trailing_slash rvm_bin_path rvm_man_path rvm_rc_files rvm_gems_path rvm_gems_cache_path rvm_interactive_flag rvm_gems_path rvm_project_rvmrc_default rvm_gemset_separator fi -cd . - +if [[ ${rvm_interactive_flag:-0} -gt 0 ]]; then + cd . +fi