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()
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.