summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-12 02:59:17 +0000
committerobrien <obrien@FreeBSD.org>2000-04-12 02:59:17 +0000
commitb63050e9ed523e4a52ef681c03ecbdf827f2ad72 (patch)
tree86f64a5cff7b15a38559192d32efe22078d71cb6 /CVSROOT
parent94d9842e2874e1c186a2b55213078efb5d13f5b9 (diff)
downloadFreeBSD-ports-b63050e9ed523e4a52ef681c03ecbdf827f2ad72.zip
FreeBSD-ports-b63050e9ed523e4a52ef681c03ecbdf827f2ad72.tar.gz
Move the group NCVS check to the freebsd.org section. This reduces the
amount of editing one needs to do to use the FreeBSD CVSROOT configuration on other projects. Approved by: peter
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/commitcheck24
1 files changed, 9 insertions, 15 deletions
diff --git a/CVSROOT/commitcheck b/CVSROOT/commitcheck
index 2168d1f..4147547 100755
--- a/CVSROOT/commitcheck
+++ b/CVSROOT/commitcheck
@@ -9,11 +9,15 @@
# to 'cvs-committers@freebsd.org' etc. This could be highly embarresing. :-)
#
case "`hostname | tr A-Z a-z`" in
-freefall.freebsd.org)
- :
- ;;
-internat.freebsd.org)
- :
+freefall.freebsd.org|internat.freebsd.org)
+ # 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
;;
*)
echo "Please commit on Freefall\!"
@@ -22,16 +26,6 @@ internat.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}'`
OpenPOWER on IntegriCloud