Why does /etc/profile include /bin and /usr/bin in the PATH?

Dave Korn dave.korn.cygwin@gmail.com
Tue Jun 8 17:39:00 GMT 2010


On 07/06/2010 22:17, Christopher Faylor wrote:
> Maybe this has been discussed and I just don't remember but why are /bin
> and /usr/bin included in the default path in /etc/profile?  Since they
> point to the same directory that just slows bash down a little when
> finding files not in /bin.

  Some things try to access $0/../share/....

  Since $prefix=/usr for cygwin, /usr/bin is the expected location.  There's
no alias for /share like there is for /bin and /lib.

    cheers,
      DaveK


--
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