commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9687 - trunk/www/utils


From: reinhard
Subject: [gnue] r9687 - trunk/www/utils
Date: Wed, 6 Jun 2007 09:02:21 -0500 (CDT)

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()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]