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?
- From: luke dot kendall at cisra dot canon dot com dot au
- To: cygwin at cygwin dot com
- Date: Tue, 5 Oct 2004 16:44:37 +1000 (EST)
- Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT?
On 4 Oct, Siegfried Heintze wrote:
> 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?
We've been doing this for years, since Cygwin's cvs gives us messages
of the form
$ /usr/bin/cvs update 2>&1 | cat -tvu
Enter passphrase for key /home/luke/.ssh/id_dsa:
cvs update: warning: unrecognized response `ok^M from cvs server
using either the :pserver: or the external client-server via rsh
Anyway, in your case it should be as simple as this:
You may need to export EDITOR=notepad if you have trouble with cvs
commits aborting because it can't run your editor.
It all works fine; we've been using cvs-1.10 and earlier, compiled
natively for Windows, for years.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html