head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2004.03.30.00.18.16;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Check whether this commit is approved by appropriate party or not in
specific modules/branches.

We hope this check reduces accidental commits to reserved branches
(such as security branches).

Reviewed by:	core
@
text
@#!/usr/bin/perl -w
#
# $FreeBSD$

use strict;
use lib $ENV{CVSROOT};
use CVSROOT::cfg;
my $CVSROOT = $ENV{CVSROOT} || die "Can't determine CVSROOT (verifymsgcheck)!\n";

# Check "Approved by:" line.
system("$CVSROOT/CVSROOT/approvecheck", @@ARGV);
if ($? >> 8) {
	exit 1;
}

# peter's edit post-processor..
system("$CVSROOT/CVSROOT/logcheck", @@ARGV);
if ($? >> 8) {
	exit 1;
}
@
