From c5c2aca81b4927264d5949ced4969c112d71167d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 14 Jun 2024 10:17:48 +0100 Subject: Reference msys2 without full path --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 1b012c7..254735c 100644 --- a/setup.py +++ b/setup.py @@ -64,8 +64,7 @@ class jq_with_deps_build_ext(build_ext): print("Executing: %s" % ' '.join(args)) if os.name == "nt": - msys2_path = os.path.join(os.getenv("RUNNER_TEMP"), "setup-msys2", "msys2.cmd") - command = [msys2_path, "-c", " ".join(shlex.quote(arg) for arg in args)] + command = ["msys2.cmd", "-c", " ".join(shlex.quote(arg) for arg in args)] else: command = args -- cgit v1.2.3