delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/21/21:15:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <67677D360C1FD411BB4000B0D02080412949FD@EQEXCHANGE>
From: Josh Schulte <jschulte AT equilibrium DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Bug Report: CVS often fails in scripts under Cygwin
Date: Thu, 21 Sep 2000 18:13:44 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

You determined it? You recreated the "permission denied" on your system, the
got the script to work by removing the \r's?

I found that that wasn't the problem. If I remove the /r's the cvs commands
still fail.

I droped the latest cygwin and bash over my current setup and that didn't
fix it either.

Thanks,
Josh

-----Original Message-----
From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
Sent: Thursday, September 21, 2000 4:31 PM
To: Josh Schulte; 'Charles S. Wilson'
Cc: 'cygwin AT sourceware DOT cygnus DOT com'
Subject: RE: Bug Report: CVS often fails in scripts under Cygwin


--- Josh Schulte <jschulte AT equilibrium DOT com> wrote:
> Chuck,
> 
> Are you on win2k or nt 4?
> 

Why does this matter?  You and I have already determined, hours ago, that
your
problem with the script is \r\n line endings.

****************************************************************************
*

Well since cvs is trying to open a file name foo\r and since foo\r is an
illegal filename for Win32; then, you don't want \r\n line endings.  Have
you
updated you Cygwin recently?  IIRC, both ash and bash were modified to read
script files in text mode so that these problems don't occur.

To modify your file you can:
  cp foo.sh foo.tmp
  tr -d '\r' < foo.tmp > foo.sh
  rm foo.tmp

This will delete all \r's in the file.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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