diff options
author | krion <krion@FreeBSD.org> | 2004-05-26 16:57:06 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-05-26 16:57:06 +0800 |
commit | 645f7f9a7c9fdbf0084690574767ef8367f57dd9 (patch) | |
tree | b890b4372372ea7a2f47f17907571a066eefd6b4 /CVSROOT/verifymsgcheck | |
parent | 7a9cfdcb93edc826d48d1ac97e8b6cb96b98111c (diff) | |
download | freebsd-ports-graphics-645f7f9a7c9fdbf0084690574767ef8367f57dd9.tar.gz freebsd-ports-graphics-645f7f9a7c9fdbf0084690574767ef8367f57dd9.tar.zst freebsd-ports-graphics-645f7f9a7c9fdbf0084690574767ef8367f57dd9.zip |
- 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
Diffstat (limited to 'CVSROOT/verifymsgcheck')
-rwxr-xr-x | CVSROOT/verifymsgcheck | 20 |
1 files changed, 20 insertions, 0 deletions
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; +} |