Use absolute paths in dependency outputs

This fixes an error when `tests/Makefile` in Mbed TLS invokes
`../framwework/scripts/generate_test_cert_macros.py`: this needs
paths that are either absolute or relative to the current directory (which
is `tests`), rather than relative to the repository root.

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2026-07-20 14:00:38 +02:00
parent c58fbebd96
commit 2e1c8c9510
+1 -1
View File
@@ -62,7 +62,7 @@ def main():
if args.list_dependencies:
files_list = [arg[2] for arg in INPUT_ARGS
if arg[0] != "password"]
print(" ".join(os.path.join(DATA_DIR_RELATIVE, filename)
print(" ".join(os.path.join(DATA_DIR_ABSOLUTE, filename)
for filename in files_list))
return