Author: wade
Date: 2007-10-21 00:59:51 -0400 (Sun, 21 Oct 2007)
New Revision: 87861

Modified:
   trunk/release/monobuild/collect-class-status.py
Log:
Remove existing dir before copying, so dir structure remains.
(Otherwise it was appearing to no be updated, when really it was
 put in the dir itself instead of creating it, because it
 already existed)



Modified: trunk/release/monobuild/collect-class-status.py
===================================================================
--- trunk/release/monobuild/collect-class-status.py     2007-10-21 00:51:05 UTC 
(rev 87860)
+++ trunk/release/monobuild/collect-class-status.py     2007-10-21 04:59:51 UTC 
(rev 87861)
@@ -36,5 +36,6 @@
 if not os.path.exists(output_dir): os.mkdir(output_dir)
 
 for a in status_config:
-       os.system('cp -a %s %s' % (a[3], output_dir + os.sep + a[0]) )
+       out = output_dir + os.sep + a[0]
+       os.system('rm -Rf %s; cp -a %s %s' % (out, a[3], out) )
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to