Hi,
I can't make my cvs server execute a simple validating message script:

1) I add this entry to the CVSROOT/verifymsg:
DEFAULT /var/lib/cvsd/bin/validate-cvs-log.sh

2) I created the file in the lib with the code:
#!/bin/sh
#
# validate-cvs-log.sh logfile
# test that log message has some characters in it
if [ `cat $1 | wc -c ` -lt 10 ] ; then
echo "log message too short; please enter a description for the
changes"
exit 1
else
exit 0
fi

3) when committing, I get
cvs commit: cannot exec /var/lib/cvsd/bin/validate-cvs-log.sh: No such
file or directory
cvs [commit aborted]: Message verification failed

any suggestion?
I run CVS on linux red hat

many thanks jc

_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to