The log.pl script relies on some of hte information which you are
slurping and writing out with the 'cat' following 'date' below.  The
solution is to call an intermediate script which reads in stdin and
writes it out to two separate child processes (below, the simple echo to
the log & log.pl).  Alternately, you could hack log.pl to write to the
text log as well as to send the mails.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED]     OpenAvenue ( http://OpenAvenue.com )
--
Always glad to share my ignorance - I've got plenty.

[EMAIL PROTECTED] wrote:

> I'm having a bit of difficulty with loginfo
>
> we're set up to have our webpages update automatically when a checkin
> is done - I've got that working (from Cedarqvist). I also use the
> log.pl to send the CVS commit mails out.
>
> Is there some way to have both actions perform for one checkin?
>
> At first I could only get either the updates or the mail. Now I get
> the update and mail, but it doesn't seem to be coming from the log.pl
> as it's only giving the directory the change was made and the author.
> It's not giving the modified filename or the comments.
>
> here's the line out of my loginfo file:
>
> ^docs ((date; cat; (sleep 2;
> cd /workspace1/cvstree/docs; /usr/local/bin/cvs -q update -d) &)
> >> /workspace1/cvstree/docs/updatelog.txt 2>&1
> ; $CVSROOT/CVSROOT/log.pl %s -u ${USER} -m [EMAIL PROTECTED]  -f
> $CVSROOT/CVSROOT/docs.log  -s)
>
> what am I doing wrong?
>
> ADVthanksANCE,
>
> Kelleigh
>


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to