Skip to content

Commit be561a6

Browse files
authored
remove left overs folders with "@" in name
1 parent a283287 commit be561a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ def _handle_existing_tool(
323323
tool_base_name = os.path.basename(paths['tool_path'])
324324
packages_dir = os.path.dirname(paths['tool_path'])
325325

326-
# Remove similar directories with version suffixes FIRST (e.g., xtensa.12232)
326+
# Remove similar directories with version suffixes FIRST (e.g., xtensa@src, xtensa.12232)
327+
safe_remove_directory_pattern(packages_dir, f"{tool_base_name}@*")
327328
safe_remove_directory_pattern(packages_dir, f"{tool_base_name}.*")
328329

329330
# Then remove the main tool directory (if it still exists)

0 commit comments

Comments
 (0)