svn commit: r240535 - svnadmin/hooks/scripts

Bjoern A. Zeeb bz at FreeBSD.org
Sat Sep 15 18:26:11 UTC 2012


Author: bz
Date: Sat Sep 15 18:26:09 2012
New Revision: 240535
URL: http://svn.freebsd.org/changeset/base/240535

Log:
  As an intermediate step to unify checkacl, check for a base (src) specific
  version as we do for doc and ports currently.
  
  Add an extra argument, which is currently ignored for base, stating that
  it is a request for a commit to base.

Modified:
  svnadmin/hooks/scripts/env.sh

Modified: svnadmin/hooks/scripts/env.sh
==============================================================================
--- svnadmin/hooks/scripts/env.sh	Sat Sep 15 18:00:34 2012	(r240534)
+++ svnadmin/hooks/scripts/env.sh	Sat Sep 15 18:26:09 2012	(r240535)
@@ -4,6 +4,8 @@ PATH=/s/svn/base/hooks/scripts:/usr/bin:
 export PATH
 cd /s/svn/base
 umask 002
-if [ -x /usr/local/bin/checkacl ]; then
-  eval `/usr/local/bin/checkacl`
+if [ -x /usr/local/bin/checkacl-base ]; then
+  eval `/usr/local/bin/checkacl-base base`
+elif [ -x /usr/local/bin/checkacl ]; then
+  eval `/usr/local/bin/checkacl base`
 fi


More information about the svn-src-svnadmin mailing list