From: Jean-François Nguyen Date: Fri, 16 Jul 2021 17:16:56 +0000 (+0200) Subject: _toolchain: substitute '+' with 'X' in tool_env_var(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c26db8a740c7fbf5c0e79d7ff48d09839ffefd60;p=nmigen.git _toolchain: substitute '+' with 'X' in tool_env_var(). --- diff --git a/nmigen/_toolchain/__init__.py b/nmigen/_toolchain/__init__.py index fca2bac..123c4f0 100644 --- a/nmigen/_toolchain/__init__.py +++ b/nmigen/_toolchain/__init__.py @@ -10,7 +10,7 @@ class ToolNotFound(Exception): def tool_env_var(name): - return name.upper().replace("-", "_") + return name.upper().replace("-", "_").replace("+", "X") def _get_tool(name):