Skip to content

Commit

Permalink
Reference msys2 without full path
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Jun 14, 2024
1 parent cac6fe5 commit c5c2aca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def run_command(args):
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

Expand Down

0 comments on commit c5c2aca

Please sign in to comment.