Use existing variable containing full path

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2023-12-08 09:47:48 +00:00
parent 10769bca9e
commit f05b768457

View File

@ -181,7 +181,7 @@ def main() -> int:
crypto_core_directory = build_tree.crypto_core_directory(project_root)
output_directory = args.output_directory if args.output_directory is not None else \
os.path.join(project_root, crypto_core_directory)
crypto_core_directory
template_directory = args.template_dir if args.template_dir is not None else \
os.path.join(project_root,