Don't fail when unpacking the windows snapshot
Newly having a third-party directory was throwing off the unpack script
This commit is contained in:
parent
1996a11bb2
commit
19e9766c29
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ def unpack_snapshot(triple, dl_path):
|
|||
print("extracting " + p)
|
||||
tar.extract(p, download_unpack_base)
|
||||
tp = os.path.join(download_unpack_base, p)
|
||||
if os.path.isdir(tp) and os.path.exists(fp):
|
||||
continue
|
||||
shutil.move(tp, fp)
|
||||
tar.close()
|
||||
shutil.rmtree(download_unpack_base)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue