SF.net SVN: morphix: [2495] trunk/mmaker/utils

[email protected] Thu, 24 May 2007 04:37:45 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2495
          http://svn.sourceforge.net/morphix/?rev=2495&view=rev
Author:   paul_c
Date:     2007-05-24 04:37:38 -0700 (Thu, 24 May 2007)

Log Message:
-----------
A couple of tweaks to the autobuild scripts.

Modified Paths:
--------------
    trunk/mmaker/utils/build-example.sh
    trunk/mmaker/utils/local_autobuilds.sh

Modified: trunk/mmaker/utils/build-example.sh
===================================================================
--- trunk/mmaker/utils/build-example.sh	2007-05-24 10:47:06 UTC (rev 2494)
+++ trunk/mmaker/utils/build-example.sh	2007-05-24 11:37:38 UTC (rev 2495)
@@ -38,7 +38,7 @@
 done
 
 # delete all files in alextreme after 3 days
-find alextreme/*.* -ctime +3 -prune -exec rm {} \;
+find alextreme/*.* -maxdepth 0 -mtime +3 -exec rm -f {} \;
 
 # Cleanup time!
 rm -rf /tmp/libmorphix*

Modified: trunk/mmaker/utils/local_autobuilds.sh
===================================================================
--- trunk/mmaker/utils/local_autobuilds.sh	2007-05-24 10:47:06 UTC (rev 2494)
+++ trunk/mmaker/utils/local_autobuilds.sh	2007-05-24 11:37:38 UTC (rev 2495)
@@ -54,5 +54,5 @@
 build_main
 
 # delete all files in WORKING_DIR after 3 days
-find $LOCAL_DIR/[^local]* -ctime +1 -exec sudo rm {} \;
+find $LOCAL_DIR/* -maxdepth 0 -mtime +1 -exec sudo rm -f {} \;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/