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
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 () {