[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loginfo Problems
From: |
Derek R. Price |
Subject: |
Re: Loginfo Problems |
Date: |
Mon, 11 Jun 2001 08:10:03 -0400 |
Brad Pfautsch wrote:
> 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.
Is module1 executable? Try running the script sh -x from loginfo and examine
the
results.
Also, I don't think it's realated to this particular issue, but you should
consider
upgrading to 1.11.1p1 . Many bugs have been fixed since 1.10.7.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden CollabNet ( http://collab.net )
--
I will not show off.
I will not show off.
I will not show off...
- Bart Simpson on chalkboard, _The Simpsons_
- Loginfo Problems, Brad Pfautsch, 2001/06/06
- Re: Loginfo Problems,
Derek R. Price <=