OW2 Consortium

(file) Return to validate−cvs−log CVS log (file) (dir) Up to [OW2-CVS] / sync4j / CVSROOT

File: [OW2-CVS] / sync4j / CVSROOT / validate−cvs−log (download)
Revision: 1.1, Mon Oct 30 11:34:10 2006 UTC (6 years, 6 months ago) by stefano_fornari
Branch: MAIN
CVS Tags: HEAD
Script to validate the provided log message and to prevent ci without message.

#!/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

webmaster@ow2.org
Powered by
ViewCVS 0.9.4

Back to OW2 Forge