projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf6324
)
build.plat: batch files use EQU, not EQ.
author
whitequark
<cz@m-labs.hk>
Sun, 13 Oct 2019 21:45:56 +0000
(21:45 +0000)
committer
whitequark
<cz@m-labs.hk>
Sun, 13 Oct 2019 21:45:56 +0000
(21:45 +0000)
nmigen/build/plat.py
patch
|
blob
|
history
diff --git
a/nmigen/build/plat.py
b/nmigen/build/plat.py
index b99715b1056e420aa5f897c7e25c5a426bdeac75..7c7bd0f7e052832bc98d5855008a5cc1f99fdd3d 100644
(file)
--- 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}%] eq
u
[\"\"] set {env_var}=\n" \
+ "if [%{env_var}%] eq
u
[] set {env_var}={name}"
else:
assert False
commands.append(template.format(env_var=env_var, name=name))