Просмотр исходного кода

Make snapshots more robust by doing early directory deletes

[SVN r69072]
Beman Dawes 15 лет назад
Родитель
Сommit
dcdd59f51b
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      tools/release/snapshot.bat

+ 10 - 0
tools/release/snapshot.bat

@@ -8,6 +8,16 @@ rem  See http://www.boost.org/LICENSE_1_0.txt
 
 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%

粤ICP备19079148号