summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-06-14 10:17:48 +0100
committerMichael Williamson <mike@zwobble.org>2024-06-14 10:27:37 +0100
commitc5c2aca81b4927264d5949ced4969c112d71167d (patch)
tree835ca58908aaf89db75f3af5441d705887146378
parentcac6fe52398f3a191053aa457f8395380b5379b4 (diff)
Reference msys2 without full path
-rw-r--r--setup.py3
1 files changed, 1 insertions, 2 deletions
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