[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
verifymsg cannot exec
From: |
joseph conrad |
Subject: |
verifymsg cannot exec |
Date: |
20 Dec 2005 02:36:24 -0800 |
User-agent: |
G2/0.2 |
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
- verifymsg cannot exec,
joseph conrad <=