diff --git a/scripts/check_architecture.py b/scripts/check_architecture.py index 4a16ee1249..0c3c17e128 100644 --- a/scripts/check_architecture.py +++ b/scripts/check_architecture.py @@ -616,7 +616,7 @@ def build(overrides): full = os.path.join(tmp, path) os.makedirs(os.path.dirname(full), exist_ok=True) with open(full, "w", encoding="utf-8") as fh: - fh.write(text.replace("@ABS@", tmp)) + fh.write(text.replace("@ABS@", tmp.replace(os.sep, "/"))) CORE_OS_ALLOWLIST = set() LISTENER_ALLOWLIST = set()