Update of /cvsroot/leaf/devel/mhnoyes/sf-admin
In directory sc8-pr-cvs1:/tmp/cvs-serv16122
Modified Files:
daily.sh
Log Message:
Added checks for shell usage problems
Index: daily.sh
===================================================================
RCS file: /cvsroot/leaf/devel/mhnoyes/sf-admin/daily.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** daily.sh 19 Nov 2002 17:30:32 -0000 1.4
--- daily.sh 8 Feb 2003 18:33:49 -0000 1.5
***************
*** 4,7 ****
--- 4,8 ----
# PURPOSE: To export directories from CVS to our shell server.
# HISTORY: 2002-07-16 mhnoyes Initial programming (Mike Noyes)
+ # HISTORY: 2003-02-08 Added checks for shell usage problems (Mike Noyes)
#----------------------------------------
***************
*** 32,35 ****
--- 33,45 ----
# MAIN PROGRAM
#----------------------------------------
+
+ # Result should be less than 500 MB
+ du -sh "$PROJ_DIR"
+
+ # No files should be returned from these three commands.
+ find "$PROJ_DIR" -size +10240k -exec ls -lh {} \;
+ find "$PROJ_DIR" ! -perm -g=r -print
+ find "$PROJ_DIR" ! -group leaf -print
+
umask 022
export_documents
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits