Redirect error message to stderr

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2024-07-29 12:09:57 +01:00
parent 6a864dc5fe
commit 5e9ffa9096
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ PROJECT_NAME_FILE='./scripts/project_name.txt'
in_mbedtls_repo () {
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
fi
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"

View File

@ -120,7 +120,7 @@ PROJECT_NAME_FILE='./scripts/project_name.txt'
in_mbedtls_repo () {
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
fi
grep -Fxq "Mbed TLS" "$PROJECT_NAME_FILE"
@ -128,7 +128,7 @@ in_mbedtls_repo () {
in_tf_psa_crypto_repo () {
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
fi
grep -Fxq "TF-PSA-Crypto" "$PROJECT_NAME_FILE"