Hi all,
I am having a problem.I want to check that a log msg is entered
before commit.For this I want to check that the log msg is not null.
I have the following line in verifymsg
src /usr/cvssupport/verify.log
and in verify.log I have the following script
_________________________________________________
msg = `head -1`
if [ "$msg" = '' ];
then
echo "No log message was entered;enter a log message and try again"
exit 1
else
echo "Commit Success"
exit 0
fi
__________________________________________________
But this is aborting the commit even when a msg is entered.Am I doing
this correctly?will the firstline in the code above get the log msg
into the variable msg?Else how do I get the log message into that
variable?? Pls help.
Thanks a lot,
Paddy Thomas
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs