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]

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/


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