This is the mail archive of the
mailing list for the Cygwin project.
Re: How to prepend a directory to the PATH to accommodate CVSNT?
In my opinion, I don't think it a good idea to use native Windows
program in cygwin.
Yes, you can remove your cygwin version of cvs.exe in /usr/bin and
create a symbolic link there, pointing to /cygdrive/.../cvsnt/bin/cvs.exe.
And it in fact will run instead of cygwin version. But the native Windows
program will not recognize the strange path offered by cygwin's shell.
If you are always using relative path, I think the native Windows
program will work as well. Or you can write a simple wrapper to translate
the cygwin path into native Windows path. Who knows? Who cares?
Edward L. Fox
On Mon, 4 Oct 2004 23:12:05 -0600, Siegfried Heintze <email@example.com>
> I notice that Cygwin manipulates the path by prepending "
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:" to the windows PATH
> environment variable.
> This is a problem for me because I'm using CVSNT and I need my cvs client
> to be /cygdrive/c/Program Files/cvsnt/bin which it never sees because it
> finds cvs.exe in /usr/bin instead and this is not the cvsnt client!
> How do I prepend /cygdrive/c/Program Files/cvsnt/bin to the path?
> 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/
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html