Mail Archives: cygwin/2009/12/01/18:27:19
On Tue, Dec 01, 2009 at 12:42:01PM -0600, DePriest, Jason R. wrote:
> On Tue, Dec 1, 2009 at 10:03 AM, Andy Koppe <> wrote:
> > 2009/12/1 Reinier Post:
> >>> If you want to see the Windows PATH setting unmolested by Cygwin, you
> >>> will either need to strip out the additions set by /etc/profile or avoid
> >>> running under an environment modified by /etc/profile.
> >>
> >> It doesn't add, actually - it replaces it.
> >
> > You're wrong. The Cygwin DLL at startup translates the Windows PATH
> > variable. And this line in /etc/profile adds to it:
> >
> > PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH
True. I grepped for that line, read it, and didn't see the $PATH.
> This is completely and totally true.
>
> To verify it, all you have to do is open a bash prompt (Cygwin.bat,
> mintty, rxvt, whatever) and then launch a cmd.exe or powershell.
Not quite. I did this, but missed the .bash_profile I forgot I created
three years ago.
Sorry.
--
Reinier
--
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
- Raw text -