1Upstream-Status: Pending
2
3--- cmake-3.25.2/src/cmake/__init__.py.old	2024-12-12 20:25:48.207389622 +0000
4+++ cmake-3.25.2/src/cmake/__init__.py	2024-12-12 20:25:48.207389622 +0000
5@@ -44,7 +44,7 @@
6
7
8 def _program(name: str, args: Iterable[str]) -> int:
9-    return subprocess.call([os.path.join(CMAKE_BIN_DIR, name), *args], close_fds=False)
10+    return subprocess.call([name] + args, close_fds=False)
11
12 def _program_exit(name: str, *args: str) -> NoReturn:
13     if sys.platform.startswith("win"):
14