mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-17 15:49:54 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user