This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: $PATH contains dot but unclear where it comes from


Greetings, Larry Hall (Cygwin)!

>  From the Windows "Run..." or "Search programs and files" edit box,
> type "cmd.exe".  From the console window that opens as a result, type
> the following.

> echo %PATH%
> c:\cygwin64\bin\bash --norc --noprofile -lix
> echo $PATH

Larry, we walked through exactly this process, but he denied any investigation
by cutting the output of the first echo command.

> Any "." resulting from the second echo?  Anything in the first that
> would lead to one?  If it's very obvious that the Windows path isn't
> the problem, then exit bash and run it again omitting either --norc
> or --noprofile until you zero in on the file in your environment
> that's adding the unwanted ".".  Keep in mind that scripts you
> have in '/etc/profile.d' are sourced too.  If you've added things
> there, this could be the culprit.



--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 19.02.2014, <23:10>

Sorry for my terrible english...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]