info-cvs
[Top][All Lists]
Advanced

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

Loginfo Problems


From: Brad Pfautsch
Subject: Loginfo Problems
Date: Wed, 6 Jun 2001 08:10:36 -0500

CVS Version: 1.10.7-7
Linux Version: Debian 2.2 r2
WinCVS Client v1.2
MacCVSClient v1.6

I now have keeping a checked out copy working, but I'm getting some errors
when committing using either WinCVS or MacCVSClient.  Here is my Loginfo
file (Less the quotes):

"#
#
#
ALL                     /usr/local/bin/cvs-log $CVSROOT/CVSROOT/commit.log $USER
#
^module1                echo "Updating module1 on Webserver"; 
/usr/local/bin/module1 &
#
^module2                echo "Updating module2 on Webserver"; 
/usr/local/bin/module2 &
#
^module3                echo "Updating module3 on Webserver"; 
/usr/local/bin/module3 &
#
^module4                echo "Updating module4 on Webserver"; 
/usr/local/bin/module4 &
#"

This is what is generated in the log window:

"In D:\TEMP\module1: cvs -q -z6 commit test.asp
Checking in test.asp;
/var/cvs/cvsroot/module1/test.asp,v  <--  test.asp
new revision: 1.13; previous revision: 1.12
done
Updating module1 on Webserver
sh: : command not found

Success, CVS operation completed"

This is the contents of /usr/local/bin/module1:

"#!/bin/sh
# module1 update

CVSROOT=/var/cvs/cvsroot
cat
sleep 2
cd /mnt/module1
cvs -d /var/cvs/cvsroot -q update -d module1 >> $CVSROOT/CVSROOT/updatelog
2>&1"

Regardless of the error, it executes the update.  In this scenario, I do not
receive this error on module4.  If I move module1 to the bottom of the list
in loginfo, I do not receive the error.  I've seen other posts to this
mailing list using similar syntax as I am for the loginfo file, but maybe I
am overlooking something.  Any help will be appreciated.

Thanks,


Brad Pfautsch





reply via email to

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