From 59711f426c9010e191c3650e0fb1805256cc99ba Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Sat, 12 Oct 2024 10:44:48 -0700 Subject: [PATCH] Fix win->msys path conversion --- metapkg/packages/sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metapkg/packages/sources.py b/metapkg/packages/sources.py index 56e478f..ab17b3d 100644 --- a/metapkg/packages/sources.py +++ b/metapkg/packages/sources.py @@ -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 + "\\") )