scripts/ruby-installer in rvm-0.0.75 vs scripts/ruby-installer in rvm-0.0.76
- old
+ new
@@ -485,10 +485,10 @@
elif [[ ! -z "$rvm_ruby_interpreter" ]] ; then
unset rvm_ruby_string rvm_ruby_version
eval "__rvm_${rvm_action}_ruby"
else # all
if [[ "$rvm_action" != "install" ]] ; then
- while read bin_line
+ while read -r bin_line
do # Keep this on second line damnit!
if [[ -x "$bin_line" ]] ; then
rvm_ruby_string="$(dirname "$bin_line" | xargs dirname | xargs basename)"
eval "__rvm_${rvm_action}_ruby"
__rvm_unset_ruby_variables