mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-29 12:32:48 +00:00
Redirect error message to stderr
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
6a864dc5fe
commit
5e9ffa9096
@ -35,7 +35,7 @@ PROJECT_NAME_FILE='./scripts/project_name.txt'
|
|||||||
|
|
||||||
in_mbedtls_repo () {
|
in_mbedtls_repo () {
|
||||||
if [ ! -f $PROJECT_NAME_FILE ]; then
|
if [ ! -f $PROJECT_NAME_FILE ]; then
|
||||||
echo "$PROJECT_NAME_FILE does not exist... Exiting..."
|
echo "$PROJECT_NAME_FILE does not exist... Exiting..." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
|
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
|
||||||
|
@ -120,7 +120,7 @@ PROJECT_NAME_FILE='./scripts/project_name.txt'
|
|||||||
|
|
||||||
in_mbedtls_repo () {
|
in_mbedtls_repo () {
|
||||||
if [ ! -f $PROJECT_NAME_FILE ]; then
|
if [ ! -f $PROJECT_NAME_FILE ]; then
|
||||||
echo "$PROJECT_NAME_FILE does not exist... Exiting..."
|
echo "$PROJECT_NAME_FILE does not exist... Exiting..." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
|
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
|
||||||
@ -128,7 +128,7 @@ in_mbedtls_repo () {
|
|||||||
|
|
||||||
in_tf_psa_crypto_repo () {
|
in_tf_psa_crypto_repo () {
|
||||||
if [ ! -f $PROJECT_NAME_FILE ]; then
|
if [ ! -f $PROJECT_NAME_FILE ]; then
|
||||||
echo "$PROJECT_NAME_FILE does not exist... Exiting..."
|
echo "$PROJECT_NAME_FILE does not exist... Exiting..." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
grep -Fxq "TF-PSA-Crypto" "$PROJECT_NAME_FILE"
|
grep -Fxq "TF-PSA-Crypto" "$PROJECT_NAME_FILE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user