Author: reinhard
Date: 2007-06-06 09:02:21 -0500 (Wed, 06 Jun 2007)
New Revision: 9687

Modified:
   trunk/www/utils/create-website
Log:
Finally found the bug that caused the find error messages.


Modified: trunk/www/utils/create-website
===================================================================
--- trunk/www/utils/create-website      2007-06-06 13:31:32 UTC (rev 9686)
+++ trunk/www/utils/create-website      2007-06-06 14:02:21 UTC (rev 9687)
@@ -46,7 +46,9 @@
   #
   # Copy the static files into place, removing any .svn cruft
   os.system('cp -R %s/www/web/* %s/' % (SVN_BASE, DEST))
-  # os.system('find %s/ -name ".svn*" -exec rm -rf "{}" \\;' % (DEST))
+  # Use -depth to make sure the find doesn't try to recurse down the directory
+  # that it just deleted.
+  os.system('find %s -depth -name ".svn*" -exec rm -rf "{}" \\;' % (DEST))
 
   # Create the news pages
   news.run()



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to