[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS Mail Newbie quaestion

From: Adrian Ho
Subject: Re: CVS Mail Newbie quaestion
Date: Mon, 25 Jul 2005 17:33:57 +0800
User-agent: Mutt/1.4.1i

On Mon, Jul 25, 2005 at 10:27:13AM +0300, Vijay Mishra wrote:
> Thanks for the detailed steps. I have done according to your instruction but
> getting this message in CVS client now while committing changes
> sh: /usr/CVSRoot/CVSROOT/doLog: /usr/bin/perl
> : bad interpreter: No such file or directory
> I have perl (v5.8.0) installed on sever. And /usr/bin/perl path is also
> correct. 

If the output of:

  cat -v /usr/CVSRoot/CVSROOT/doLog | head -1

looks like:


then there's your problem: Your script was written (or saved) on a
Windows system (your use of Outlook and the odd line-break between
/usr/bin/perl and the following colon are suggestive), which has a
different EOL convention than *nix.  Since you already have perl:

  perl -pi -e 's/\r\n/\n/;' /usr/CVSRoot/CVSROOT/doLog

- Adrian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]