wayneeseguin/rvm — pull request #1097 by Dunnzilla (2012-09-06 22:48:35+00:00)
Title: Portability fix for running on Cygwin

scripts/functions/installer was calling "ps -p $$ -o comm=", which does not work on Cygwin. Another way to test the current shell name is by passing $SHELL to the basename command. This change makes that modification.