This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: $PATH contains dot but unclear where it comes from
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Feb 2014 13:42:43 -0500
- Subject: Re: $PATH contains dot but unclear where it comes from
- Authentication-results: sourceware.org; auth=none
- References: <CAM9pMnM1=UnbcXRGefXiDVjVXJcVeNej=OGowbwwWBgHeG+MjQ at mail dot gmail dot com> <CAEhDDbCG7i9GdEE1W2UL9egRdcA786u0xmwsKJXBD5HgXh5XcA at mail dot gmail dot com> <CAM9pMnM-_hZkk5+=44aTKrscqYP-qg1Mv=R4w7Jt2gFjd_WP8w at mail dot gmail dot com> <1811171498 dot 20140206155616 at mtu-net dot ru> <CAM9pMnMBpULHt7NTx-eOr8DmLkQFTQwtTmMpDmbA8UQqLpUh7g at mail dot gmail dot com> <CAM9pMnONy0ua43WKt6yFXzaWyjB4XJmmt7XefYOXer3UYgnEEg at mail dot gmail dot com> <CACUHbYP65+7GJpka9OBAkWnJeRonwNDxbXrG7n06n8e76UhR8g at mail dot gmail dot com> <CAM9pMnM5_LLvA3YaHgzo12wwUzUak2FHzrXug9G=EfD+bdZQgg at mail dot gmail dot com> <5304D694 dot 9090104 at cs dot umass dot edu> <CAM9pMnMYHrZzV+TFsy7+hqARo0fJgo1o01FKwj_D9UdjD7WajA at mail dot gmail dot com> <5304E874 dot 20906 at cygwin dot com> <CAM9pMnOfTto2QodJeWiEGdLCEPOKHd=_83GFvUzim6d=Rt0V2w at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On 2/19/2014 12:51 PM, Robert Klemme wrote:
On Wed, Feb 19, 2014 at 6:23 PM, Larry Hall (Cygwin)
wrote:
On 2/19/2014 12:16 PM, Robert Klemme wrote:
The dot is already in the variable before bash even modifies it.
So that means you need to look in your Windows environment to understand
where this comes from.
I did look in windows environment as well (again, see earlier emails).
Well, let's consider that you resurrected this thread 12 days after it
fell dormant with no context in that email message for anyone to go on.
If you don't want to have to repeat yourself on individual points as they
are brought up again, you could consider, in the future, summarizing the
current state and things tried when you bring a topic out of hibernation.
Don't discount any start-up batch files
(i.e. cygwin.bat), etc., that you may be using to kick-start bash
either.
I am using the regular mintty start that cygwin establishes. This is
the command line
C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
I can't see in documentation that mintty manipulates the environment
in some way.
More ideas?
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
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.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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