aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/commitcheck
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-08-08 20:36:03 +0800
committerpeter <peter@FreeBSD.org>1999-08-08 20:36:03 +0800
commita13e0d0fe3590e8f12881197832b638c500b6c7b (patch)
treebcbe79557a358a95f2ef87bdc4093232981b7b16 /CVSROOT/commitcheck
parent72a2b2fe04e9b4ddf36e59aab31952b3af2f7484 (diff)
downloadfreebsd-ports-gnome-a13e0d0fe3590e8f12881197832b638c500b6c7b.tar.gz
freebsd-ports-gnome-a13e0d0fe3590e8f12881197832b638c500b6c7b.tar.zst
freebsd-ports-gnome-a13e0d0fe3590e8f12881197832b638c500b6c7b.zip
Check for group ncvs before we get in too far.
Diffstat (limited to 'CVSROOT/commitcheck')
-rwxr-xr-xCVSROOT/commitcheck12
1 files changed, 11 insertions, 1 deletions
diff --git a/CVSROOT/commitcheck b/CVSROOT/commitcheck
index ea05b0bd54ec..85f1392f053d 100755
--- a/CVSROOT/commitcheck
+++ b/CVSROOT/commitcheck
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $Id: commitcheck,v 1.8 1999/01/24 20:07:28 peter Exp $
+# $Id: commitcheck,v 1.9 1999/01/25 01:28:13 peter Exp $
#
# BEWARE: If you are "borrowing" this code for use on another cvs
@@ -18,6 +18,16 @@ freefall.freebsd.org)
esac
#
+# Sanity check to make sure we've been run through the wrapper and are now
+# primary group 'ncvs'.
+#
+GRP=`/usr/bin/id -gn`
+if [ "x$GRP" != "xncvs" ]; then
+ echo "You do not have group ncvs!"
+ exit 1
+fi
+
+#
# Ensure the minimum version of cvs is installed.
#
VERS=`/usr/bin/cvs -v | awk '$1 == "Concurrent" { print $5 }' | awk -F. '{printf "%d%02d%02d\n",$1,$2,$3}'`
mt?id=5eaf92ea0b974891ba6eb1920313e697f9c9912c'>o Fix on 4.x.kuriyama2004-03-113-18/+6 * Mark broken for 4.x for the time being.kuriyama2004-03-113-0/+12 * Various fixes / improvements.kuriyama2004-03-1057-738/+2151 * Unbreak: chase checksum change on PDF file (documentation update).olgeni2004-03-072-2/+10 * - Update to version 1.4krion2004-03-063-7/+11 * - Add more MASTER_SITESkrion2004-03-041-1/+2 * - Fix MASTER_SITESkrion2004-03-011-1/+2 * - Update to version 0.16krion2004-02-292-3/+3 * Avoid "kvm_read: Bad address" error.kuriyama2004-02-296-3/+33 * fix PKGORIGIN for net/zabbix-agenteik2004-02-292-2/+2 * Fix build on CURRENTarved2004-02-291-3/+7 * USE_MYSQLarved2004-02-291-5/+7 * [maintainer] zabbix: version bump 1.0b13 -> 1.0b14edwin2004-02-298-88/+18 * Let the port choose between a PGSQL or MYSQL backend.edwin2004-02-294-10/+134 * Update to 0.47edwin2004-02-283-4/+4 * - Obey PTHREAD_LIBS also when libpthread exists.netchild2004-02-273-45/+74 * - Mark this port as DEPRECATED (removal is scheduled on 2004-05-26)clement2004-02-271-0/+3 * fix PKGORIGINeik2004-02-251-1/+0 * - Update to 0.7.6pav2004-02-253-6/+61 * - Update to 1.26eik2004-02-2422-223/+461 * Say hello to the new "net-mgmt" category. There are probably morewollman2004-02-23