1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Separate directory discernment into 2 functions

Have separate in_mbedtls_repo() and in_psa_crypto_repo() functions

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann
2023-08-29 09:53:52 +01:00
parent 2fde99962d
commit d02b5f8f56

View File

@@ -124,7 +124,11 @@ set -e -o pipefail -u
shopt -s extglob shopt -s extglob
in_mbedtls_repo () { in_mbedtls_repo () {
test ! -d core test -d include -a -d library -a -d programs -a -d tests
}
in_psa_crypto_repo () {
test -d include -a -d core -a -d drivers -a -d programs -a -d tests
} }
pre_check_environment () { pre_check_environment () {