scripts/rvm-install in rvm-0.1.26 vs scripts/rvm-install in rvm-0.1.27

- old
+ new

@@ -178,11 +178,11 @@ mv "$ruby" "$rvm_rubies_path/" new_path="$rvm_rubies_path/$(basename $ruby)" for file in gem rake ; do spinner if [[ -s "$new_path/bin/$file" ]] ; then - sed -i.orig -e '1,1s=.*=#!'"$new_path/bin/ruby=" "$new_path/bin/$file" - rm -f "$new_path/bin/$file.orig" + sed -e '1,1s=.*=#!'"${new_path}/bin/ruby=" "${new_path}/bin/${file}" > "${new_path}/bin/${file}.new" + mv -f "$new_path/bin/$file.new" "$new_path/bin/$file" chmod +x "$new_path/bin/$file" fi done fi done