From: whitequark Date: Sun, 13 Oct 2019 21:45:56 +0000 (+0000) Subject: build.plat: batch files use EQU, not EQ. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7456c627d18a7770c0a5c6e69cbf4ee2e716c95;p=nmigen.git build.plat: batch files use EQU, not EQ. --- diff --git a/nmigen/build/plat.py b/nmigen/build/plat.py index b99715b..7c7bd0f 100644 --- a/nmigen/build/plat.py +++ b/nmigen/build/plat.py @@ -295,8 +295,8 @@ class TemplatedPlatform(Platform): template = ": ${{{env_var}:={name}}}" elif syntax == "bat": template = \ - "if [%{env_var}%] eq [\"\"] set {env_var}=\n" \ - "if [%{env_var}%] eq [] set {env_var}={name}" + "if [%{env_var}%] equ [\"\"] set {env_var}=\n" \ + "if [%{env_var}%] equ [] set {env_var}={name}" else: assert False commands.append(template.format(env_var=env_var, name=name))