diff --git a/scripts/generate_driver_wrappers.py b/scripts/generate_driver_wrappers.py index e48ec3a52..09beeca49 100755 --- a/scripts/generate_driver_wrappers.py +++ b/scripts/generate_driver_wrappers.py @@ -183,10 +183,10 @@ def main() -> int: library_dir = 'library' elif build_tree.looks_like_tf_psa_crypto_root(mbedtls_root): library_dir = 'core' - + output_directory = args.output_directory if args.output_directory is not None else \ os.path.join(mbedtls_root, library_dir) - + template_directory = args.template_dir if args.template_dir is not None else \ os.path.join(mbedtls_root, 'scripts', diff --git a/tests/scripts/check-generated-files.sh b/tests/scripts/check-generated-files.sh index 410f44eb0..3fe4e8c63 100755 --- a/tests/scripts/check-generated-files.sh +++ b/tests/scripts/check-generated-files.sh @@ -32,7 +32,7 @@ in_tf_psa_crypto_repo () { if in_mbedtls_repo; then library_dir='library' -elif in_tf_psa_crypto_repo; then +elif in_tf_psa_crypto_repo; then library_dir='core' else echo "Must be run from Mbed TLS root or TF-PSA-Crypto root" >&2