From: whitequark Date: Sun, 13 Oct 2019 21:45:56 +0000 (+0000) Subject: build.plat: batch files use EQU, not EQ. X-Git-Tag: v0.1rc1~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be6c16d0a28b2d9316d3287631a21d48c5ca7d93;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))