summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
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