delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/05/02:44:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 5 Oct 2004 16:44:37 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT?
To: cygwin AT cygwin DOT com
In-Reply-To: <200410042311468.SM01220@fasolt>
MIME-Version: 1.0
Message-Id: <20041005064437.C9B2E85135@pessard.research.canon.com.au>

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
methods.

Anyway, in your case it should be as simple as this:

PATH="/cygdrive/c/Program Files/cvsnt/bin:$PATH"

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.

luke


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019