delete sub directory "debug" to not delete the change-id file
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
170d6cb845
commit
d2c58ec6c4
@ -625,9 +625,9 @@ class RustBuild(object):
|
|||||||
try:
|
try:
|
||||||
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,
|
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,
|
||||||
# remove this once the issue is closed.
|
# remove this once the issue is closed.
|
||||||
bootstrap_out = self.bootstrap_out()
|
bootstrap_build_artifacts = os.path.join(self.bootstrap_out(), "debug")
|
||||||
if os.path.exists(bootstrap_out):
|
if os.path.exists(bootstrap_build_artifacts):
|
||||||
shutil.rmtree(bootstrap_out)
|
shutil.rmtree(bootstrap_build_artifacts)
|
||||||
|
|
||||||
p.map(unpack_component, tarballs_download_info)
|
p.map(unpack_component, tarballs_download_info)
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user