This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash improperly sets PATH containing period
- From: Pavel Kudrna <Pavel dot Kudrna at mff dot cuni dot cz>
- To: cygwin at cygwin dot com
- Date: Tue, 03 Apr 2007 18:17:39 +0200
- Subject: bash improperly sets PATH containing period
Hi,
when dos(win32) path contains period, e.g. "c:." bash instead of
converting to "/cygdrive/c" incorrectly copies
this string into PATH variable including colon!
(Such dos path containing period is legal and is used in Novell Client
as search drives.)
Pavel Kudrna
C:\temp> path c:\temp;c:.;s:\public
C:\temp> path
PATH=c:\temp;c:.;s:\public
C:\temp> "C:\Program Files\cygwin\bin\bash.exe" --login -i
kudrna@k15 ~
$ echo $PATH
/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/temp:c:.:/cygdrive/s/public:/usr/local/cint
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/