Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen" To: Subject: RE: More on 'setup' fails and breaks pre-existing Cygwin installation: "The Rational Rose Files" Date: Tue, 23 Mar 2004 19:51:38 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0003_01C41110.41402BD0" In-Reply-To: Note-from-DJ: This may be spam ------=_NextPart_000_0003_01C41110.41402BD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > From: Dave Korn > > From: cygwin-owner On Behalf Of Christopher M. Balz > > Sent: 23 March 2004 06:39 > > Apparently however, from your comments, it looks as if the > > MKS system makes breaks the Cygwin installation. Is there a > > way (or a place I could look to find out) where I could > > protect the path that Cygwin uses? > > > > Thank you so much for your help. > > > > - Chris > > Simplest thing to do I reckon is to put something in either your > cygwin.bat or your .bashrc / .profile to reset $PATH to something safe, > depending on how you most commonly start up cygwin. > > cheers, > DaveK The attached script might come in handy; as defined it removes lines that matches sd="/bc" grep -v -i "$sd" (check the script and locate the lines), delivered to all of you "as is", no warranties implied... It is probably possible to enhance it: I haven't bothered to do that, yet. I use it to remove certain elements of $PATH that _MIGHT_ be in there when I launch cygwin/bash. Use: "source