/etc/profile: avoid multiple /usr/bin in PATH

Helmut Karlowski helmut.karlowski@ish.de
Tue Dec 8 21:59:00 GMT 2015


Am 08.12.2015, 22:31 Uhr, schrieb Helmut Karlowski:

>>> Yes, but why is this a problem?  Note that bash will set it anyway if
>>> not present.
>
> All shells set it only when run as login-shell.

Wrong: Only bash gives it a value - ksh and dash export SHELL with no  
value if none present. And IMHO SHELL should not be /bin/bash by default.

-Helmut

--

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list