From ddfeab57e3e8769ea3d40dda12be0460e09bb6d9 Mon Sep 17 00:00:00 2001 From: Mohamed Gaber Date: Tue, 18 Oct 2022 04:24:22 +0200 Subject: [PATCH] Fix `config.json` processing bug (#1436) ~ Fix bug where `dir::` strings were not allowed to ascend --- scripts/config/tcl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/config/tcl.py b/scripts/config/tcl.py index 4598dd43d..9f23e93b0 100755 --- a/scripts/config/tcl.py +++ b/scripts/config/tcl.py @@ -222,6 +222,7 @@ def process_string(value: str, state: State) -> str: path = value[len(DIR_PREFIX) :] full_path = os.path.join(state.design_dir, path) full_abspath = os.path.abspath(full_path) + value = full_abspath # print(state.design_dir, path, full_path, full_abspath, file=stderr) if full_abspath.startswith( state.design_dir