Skip to content

Commit

Permalink
build.plat: fix error in invoke_tool when running vivado.bat on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wipeseals authored and whitequark committed Feb 1, 2025
1 parent a570317 commit 4a242ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amaranth/build/plat.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def invoke_tool(context, name):
if context.parent["syntax"] == "sh":
return f"\"${env_var}\""
elif context.parent["syntax"] == "bat":
return f"\"%{env_var}%\""
return f"call %{env_var}%"
else:
assert False

Expand Down

0 comments on commit 4a242ff

Please sign in to comment.