Reference: http://sourceware.org/ml/cygwin/2008-02/msg00181.html
"Are you sure SHELL was exported to the environment, and not just in the bash shell variable namespace?" It is a documentation problem, from man bash: "SHELL The full pathname to the shell is kept in this environment variable." It may also be read from: http://www.gnu.org/software/bash/manual/bashref.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/