mirror of
https://github.com/boostorg/boost.git
synced 2025-04-16 10:15:02 +00:00
stale zip removal
[SVN r24291]
This commit is contained in:
parent
43de9d9570
commit
54c6ac4bbc
1 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,10 @@ def collect_logs(
|
|||
utils.log( 'Could not find \'zip_cmd\' module in the script directory (%s).' % script_dir )
|
||||
raise Exception( 'Compressing failed!' )
|
||||
else:
|
||||
if os.path.exists( archive_path ):
|
||||
os.unlink( archive_path )
|
||||
utils.log( 'Removing stale "%s".' % archive_path )
|
||||
|
||||
zip_cmd.main( results_file, archive_path )
|
||||
utils.log( 'Done compressing "%s".' % archive_path )
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue