/etc/profile: avoid multiple /usr/bin in PATH
Helmut Karlowski
helmut.karlowski@ish.de
Sun Dec 6 22:47:00 GMT 2015
Hello,
I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile always
adds /usr/bin to PATH resulting in /usr/bin being twice in my cygwin-PATH.
The attached patch fixes this.
It also sets SHELL if not yet set and avoids a call of hostname.
Maybe the maintainer takes a look.
-Helmut
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.diff
Type: application/octet-stream
Size: 2347 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20151206/f5616293/attachment.obj>
-------------- next part --------------
--
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