Subject: [Boost-commit] svn:boost r69072 - trunk/tools/release
Date: 2011-02-20 07:27:42
Date: 2011-02-20 07:27:21 EST (Sun, 20 Feb 2011)
New Revision: 69072
Make snapshots more robust by doing early directory deletes
Text files modified:
trunk/tools/release/snapshot.bat | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
--- trunk/tools/release/snapshot.bat (original)
+++ trunk/tools/release/snapshot.bat 2011-02-20 07:27:21 EST (Sun, 20 Feb 2011)
@@ -8,6 +8,16 @@
rem Must be run in a directory devoted to boost release snapshots
+echo Remove residue from prior runs...
+rem rmdir commands seem to finish before the deletes are necessarily complete.
+rem This can occasionally cause subsequent commands to fail because they expect
+rem the directory to be gone or empty. snapshot_posix and snapshot_windows
+rem are affected. Fix is to run rmdir here so that deletes are complete
+rem by the time snapshots are run.
+rmdir /s /q posix >nul
+rmdir /s /q windows >nul
echo Using %BOOST_TRUNK% as boost trunk
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk