Skip to content

Commit

Permalink
Fix win->msys path conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Oct 12, 2024
1 parent 6c22fc1 commit 59711f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metapkg/packages/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def _win_path_to_msys_path(
) -> pathlib.PurePosixPath:
return (
pathlib.PurePosixPath("/")
/ path.drive.lower()
/ path.drive.rstrip(":").lower()
/ path.relative_to(path.drive + "\\")
)

Expand Down

0 comments on commit 59711f4

Please sign in to comment.