bash/rvm in rvm-0.0.21 vs bash/rvm in rvm-0.0.22

- old
+ new

@@ -1,11 +1,11 @@ #!/bin/bash rvm_author="Wayne E. Seguin" rvm_author_email="wayneeseguin@gmail.com" rvm_website="http://rvm.beginrescueend.com/" -rvm_version="0.0.21" +rvm_version="0.0.22" rvm_updated="2009.08.25" # # License: See LICENSE # @@ -124,16 +124,16 @@ Usage } # Logging functions based on level -function rvm-log { echo -e "\n $* \e[0m" ; } -function rvm-log-debug { rvm-log "\e[4;34m <d> \e[0m$*" ; } -function rvm-log-info { rvm-log "\e[0;32m <i> \e[0m$*" ; } -function rvm-log-warn { rvm-log "\e[0;33m <w> \e[0m$*" ; } -function rvm-log-error { rvm-log "\e[0;31m <e> \e[0m$*" ; } -function rvm-log-fail { rvm-log "\e[0;31m <e> \e[0m$*" ; return 1 ; } +function rvm-log { echo -e "\n $* \033[0m" ; } +function rvm-log-debug { rvm-log "\033[4;34m <d> \033[0m$*" ; } +function rvm-log-info { rvm-log "\033[0;32m <i> \033[0m$*" ; } +function rvm-log-warn { rvm-log "\033[0;33m <w> \033[0m$*" ; } +function rvm-log-error { rvm-log "\033[0;31m <e> \033[0m$*" ; } +function rvm-log-fail { rvm-log "\033[0;31m <e> \033[0m$*" ; return 1 ; } function rvm-gi { gem install -q --no-rdoc --no-ri $* ; } function rvm-info { @@ -475,10 +475,10 @@ eval value=\$${variable} echo "${variable}='$value' ; export ${variable}" >> $install_path/current done fi - rvm-log-info "Switching to $implementation $version $patchlevel ..." + rvm-log-info "Switching to $implementation $version $patchlevel ...\n" if [ ! -z "$BASH_VERSION" ] ; then exec bash -l elif [ ! -z "$ZSH_VERSION" ] ; then exec zsh -l else