Skip to content

Commit 8ef2878

Browse files
committed
Swift: do not fail pack creation if dir does not exist
1 parent 6440242 commit 8ef2878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/tools/create_extractor_pack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
sys.exit(1)
1212

1313
dest_dir = workspace_dir / 'swift' / 'extractor-pack'
14-
shutil.rmtree(dest_dir)
14+
shutil.rmtree(dest_dir, ignore_errors=True)
1515
os.environ['DESTDIR'] = str(dest_dir)
1616
main(sys.argv)

0 commit comments

Comments
 (0)