[1517] in Moira

home help back first fref pref prev next nref lref last post

acl.sh brainos

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Mon Apr 10 15:38:40 2000

Message-Id: <200004101938.PAA06025@sweet-transvestite.mit.edu>
To: moiradev@MIT.EDU
Date: Mon, 10 Apr 2000 15:38:29 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>

	I'm checking this in early.

Index: acl.sh
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/gen/acl.sh,v
retrieving revision 1.2
diff -c -r1.2 acl.sh
*** acl.sh	2000/01/31 17:10:05	1.2
--- acl.sh	2000/04/10 19:36:56
***************
*** 29,35 ****
  	    if egrep -s ^root: .$file; then
  		:
  	    else
! 		status=MR_MISSINGFILE
  		break
  	    fi
          fi
--- 29,35 ----
  	    if egrep -s ^root: .$file; then
  		:
  	    else
! 		status=$MR_MISSINGFILE
  		break
  	    fi
          fi
***************
*** 37,44 ****
  	# Make sure that there is a head file, or that the generated
  	# file contains a group with gid 0.
  	if [ ! -f $file.head ]; then
! 	    if awk -F: '$3 == "0" { exit 1; }'; then
! 		status=MR_MISSINGFILE
  		break
  	    fi
          fi
--- 37,44 ----
  	# Make sure that there is a head file, or that the generated
  	# file contains a group with gid 0.
  	if [ ! -f $file.head ]; then
! 	    if awk -F: '$3 == "0" { exit 1; }' $file; then
! 		status=$MR_MISSINGFILE
  		break
  	    fi
          fi

home help back first fref pref prev next nref lref last post