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:
parent
2fde99962d
commit
d02b5f8f56
1 changed files with 5 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue