From c26db8a740c7fbf5c0e79d7ff48d09839ffefd60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Fran=C3=A7ois=20Nguyen?= Date: Fri, 16 Jul 2021 19:16:56 +0200 Subject: [PATCH] _toolchain: substitute '+' with 'X' in tool_env_var(). --- nmigen/_toolchain/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2