[imp] Patch to horde-rsync.sh

Jon Parise jon@horde.org
Mon, 17 Sep 2001 10:52:30 -0400


On Mon, Sep 17, 2001 at 04:46:00PM +0200, Alexander Skwar wrote:

> So sprach »Jon Parise« am 2001-09-17 um 09:36:37 -0400 :
> > I'm working on these now.  I'm commit you changes shortly.
> 
> Hmm, okay, I've got a problem.  I get these fatal error messages:
> 
> cvs [checkout aborted]: cannot stat /var/lock/cvs: No such file or
> directory
> cvs [checkout aborted]: cannot stat /var/lock/cvs: No such file or
> directory
> 
> This happens, when the script tries to execute this:
> 
>         $CVSCOMMAND $CVS_ARGS -r $LABEL $MODULE
> 
> I suppose, this is because I don't have a CVS server running.
> 
> Can this script only be used when there's a working local CVS server?

Huh.  It looks like it's reading the 'config' file in the
CVSROOT, which has a redefined LockDir.  I'm not sure if you can
force it to a different location on the cvs commandline, but that
would be the idea solution.

Otherwise, you can just create a /var/lock/cvs directory or
symlink it to a temporary directory as a workaround.

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (B.S.)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member