mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-07-24 01:51:03 +08:00
Modify all.sh to use new project name file
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
c0386bf2a7
commit
d9312eaa4b
@ -115,12 +115,15 @@ set -e -o pipefail -u
|
|||||||
# Enable ksh/bash extended file matching patterns
|
# Enable ksh/bash extended file matching patterns
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
|
# For project detection
|
||||||
|
PROJECT_NAME_FILE='./scripts/project_name.txt'
|
||||||
|
|
||||||
in_mbedtls_repo () {
|
in_mbedtls_repo () {
|
||||||
test -d include -a -d library -a -d programs -a -d tests
|
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
in_tf_psa_crypto_repo () {
|
in_tf_psa_crypto_repo () {
|
||||||
test -d include -a -d core -a -d drivers -a -d programs -a -d tests
|
grep -Fxq "TF-PSA-Crypto" "$PROJECT_NAME_FILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_check_environment () {
|
pre_check_environment () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user