Skip to content

Commit 4a242ff

Browse files
wipesealswhitequark
authored andcommitted
build.plat: fix error in invoke_tool when running vivado.bat on Windows
1 parent a570317 commit 4a242ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/build/plat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def invoke_tool(context, name):
338338
if context.parent["syntax"] == "sh":
339339
return f"\"${env_var}\""
340340
elif context.parent["syntax"] == "bat":
341-
return f"\"%{env_var}%\""
341+
return f"call %{env_var}%"
342342
else:
343343
assert False
344344

0 commit comments

Comments
 (0)