From 645f7f9a7c9fdbf0084690574767ef8367f57dd9 Mon Sep 17 00:00:00 2001 From: krion Date: Wed, 26 May 2004 08:57:06 +0000 Subject: - Check whether commits are approved by portmgr during the portfreeze Note: that is not final step to activate it, changes to existing scripts will follow later. Discussed with: kuriyama --- CVSROOT/verifymsgcheck | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 CVSROOT/verifymsgcheck (limited to 'CVSROOT/verifymsgcheck') diff --git a/CVSROOT/verifymsgcheck b/CVSROOT/verifymsgcheck new file mode 100755 index 00000000000..b9829a77dfb --- /dev/null +++ b/CVSROOT/verifymsgcheck @@ -0,0 +1,20 @@ +#!/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; +} -- cgit