Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69072 - trunk/tools/release
From: bdawes_at_[hidden]
Date: 2011-02-20 07:27:42

Author: bemandawes
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(-)

Modified: trunk/tools/release/snapshot.bat
--- 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
+time /t
 echo Using %BOOST_TRUNK% as boost trunk
 time /t
 pushd %BOOST_TRUNK%

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at