Hi All,

I running CVS on a remote server and use pserver to 
access it (this is running on a Unix machine)

In my CVSROOT directory on the remote server. I
have in my commitinfo file this line:

ALL $CVSROOT/CVSROOT/writers.sh

Writers.sh:
$CVSROOT/CVSROOT/writer `whoami`

writer is a program that takes a username as a parameter and determines 
if the user is allowed to commit.  If so, it returns 0 and if not it returns
1.

I think pserver is set up ok since I can checkout and update
files on my client.  However, upon commit, I get this error.

/cvs/CVSROOT/writers.sh: whoami: not found
Segmentation Fault - core dumped
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in /var/tmp/cvsBAA7paOSt

I think its complaing about the 'whoami' but I don't see why.. this works
just fine if I'm running it locally on the server.

Thanks!



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

Reply via email to