scripts/rvm-install in rvm-0.1.29 vs scripts/rvm-install in rvm-0.1.30

- old
+ new

@@ -279,11 +279,11 @@ echo -e "\n placing all non-interactive items in the .bashrc" echo -e "\n3) Then $(tput setaf 1)CLOSE THIS SHELL$(tput sgr0) and open a new one in order to use rvm.\n" fi if [[ -s $HOME/.bashrc ]] && grep '&& return' $HOME/.bashrc ; then echo -e "\n\nWARNING: you have a 'return' statement in your .bashrc, likely this will cause untold havoc. - This means that if you see '[ -z "$PS1" ] && return' then you must change this line to: - if [[ ! -z "$PS1" ]] ; then + This means that if you see '[ -z "\$PS1" ] && return' then you must change this line to: + if [[ -n "\$PS1" ]] ; then ... original content that was below the && return line ... fi # <= be sure to close the if. #EOF .bashrc If you have any questions about this please visit #rvm on irc.freenode.net.\n"