mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-09 19:59:57 +00:00
Add check for existence of project name file
Signed-off-by: Thomas Daubney <[email protected]>
This commit is contained in:
+5
-1
@@ -34,8 +34,12 @@ set -eu
|
||||
PROJECT_NAME_FILE='./scripts/project_name.txt'
|
||||
|
||||
in_mbedtls_repo () {
|
||||
if [ ! -f $PROJECT_NAME_FILE ]; then
|
||||
echo "$PROJECT_NAME_FILE does not exist... Exiting..."
|
||||
exit 1
|
||||
fi
|
||||
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
|
||||
}
|
||||
}
|
||||
|
||||
# Collect stats and build a HTML report.
|
||||
lcov_library_report () {
|
||||
|
||||
Reference in New Issue
Block a user