diff --git a/scripts/iob_soc_utils.py b/scripts/iob_soc_utils.py index dd2771f06..c8280fe0f 100644 --- a/scripts/iob_soc_utils.py +++ b/scripts/iob_soc_utils.py @@ -271,7 +271,7 @@ def post_setup_iob_soc(python_module, num_extmem_connections): scripts_dir = root break # Copy scripts to build directory - copy_srcs.copy_files("./scripts", f"{build_dir}/scripts", scripts) + copy_srcs.copy_files(f"{scripts_dir}", f"{build_dir}/scripts", scripts) # Copy console_ethernet.py if ethernet_macro: