This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /etc/profile: avoid multiple /usr/bin in PATH
- From: "Helmut Karlowski" <helmut dot karlowski at ish dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 08 Dec 2015 22:59:01 +0100
- Subject: Re: /etc/profile: avoid multiple /usr/bin in PATH
- Authentication-results: sourceware.org; auth=none
- Outgoingd: 0.4.0_m1
- References: <op dot x88uwyt9ofd6j1 at frascati dot upc dot de> <87oae0venj dot fsf at Rainer dot invalid> <op dot x9cf2njrofd6j1 at frascati dot upc dot de> <87fuzcvdpv dot fsf at Rainer dot invalid> <op dot x9cghzy7ofd6j1 at frascati dot upc dot de> <op dot x9cgqf1pofd6j1 at frascati dot upc dot de>
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