Skip to content

Commit

Permalink
delete sub directory "debug" to not delete the change-id file
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Sep 17, 2024
1 parent 170d6cb commit d2c58ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,9 +625,9 @@ def download_toolchain(self):
try:
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,
# remove this once the issue is closed.
bootstrap_out = self.bootstrap_out()
if os.path.exists(bootstrap_out):
shutil.rmtree(bootstrap_out)
bootstrap_build_artifacts = os.path.join(self.bootstrap_out(), "debug")
if os.path.exists(bootstrap_build_artifacts):
shutil.rmtree(bootstrap_build_artifacts)

p.map(unpack_component, tarballs_download_info)
finally:
Expand Down

0 comments on commit d2c58ec

Please sign in to comment.