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=abb264225644a8030e6221c49a74c8c07611d132;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):