Mail Archives: cygwin/2000/09/21/21:15:06
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 -