This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: PATH conversion bug


On 1 Oct 99, at 5:52, Earnie Boyd wrote:

> --- Kai Henningsen <kai@cats.ms> wrote:
> > The following PATH sequence:
> >
> > 		;W:.;Z:.;Y:.;X:.;
> >
> > which is typical for drives mapped by the Netware client, gets
> > converted into the following cygwin PATH sequence:
> >
> > 		://W.://Z.://Y.://X.:
> >
> > This is a bug and doesn't work.
>
> Not a cygwin bug!!

Why not? Who else is converting DOS-style PATH variables to
Unix-style PATH variables?

W:. is certainly a legal (if slightly unusual) PATH entry.
//W. is certainly something very different.

I don't see that it can be anything BUT a cygwin bug.

> To solve/workaround this problem, modify the PATH in the ~/.bashrc file to be
> what it should be.  NOTE: The smaller the PATH the faster cygwin will be.

PATH="$( echo -n $PATH | sed 's+//\([A-Z]\)\.+//\1+g' )"

seems to work well enough. I suggest putting the equivalent into
the PATH converter.


Regards - Kai Henningsen

--
http://www.cats.ms
Spuentrup CTI       Fon: +49 251 322311 0
Windbreede 12       Fax: +49 251 322311 99
D-48157 Münster     Mob: +49 161 3223111
Germany             GSM: +49 171 7755060

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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