info-cvs
[Top][All Lists]
Advanced

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

RE: loginfo problem ("Keeping a checked out copy")


From: dveatch
Subject: RE: loginfo problem ("Keeping a checked out copy")
Date: Fri, 19 Jan 2001 23:22:54 -0000
User-agent: eGroups-EW/0.82

Thanks everyone for the feedback... I did have a lengthy explanation 
of my solution, but IE decided that I didn't need it anymore, and 
it's gone now.  Regarding my CVS problem, I suspect an issue with the 
shell, but can't say for sure at this time.  In short:

Running CVS 1.11 on FreeBSD 4.1.1.  Shell is tcsh.

Does not work:

loginfo: ^Reckoning (date; cat; (sleep 2; cd /www/perl_lib; cvs -q 
update -d) &) >> $CVSROOT/CVSROOT/updatelog 2>&1

Works:

loginfo: ^Reckoning echo "Updating Reckoning Perl Module 
Directory"; /www/bin/cvs_autoupdate.sh &

cvs_autoupdate.sh:
#!/bin/sh
# cvs_autoupdate.sh
# built to get around tcsh freakishness

CVSROOT=/usr/cvsroot
cat
sleep 2
cd /www/perl_lib
cvs -q update -d >> $CVSROOT/CVSROOT/updatelog 2>&1

I should also point out that neither solution works on SunOS 5.6, 
running CVS 1.08 and ksh.  I'll hit that harder on Monday.



reply via email to

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