mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
all.sh: prevent a silly mistake
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
a93f988779
commit
a4f0227669
@ -10,6 +10,13 @@
|
||||
|
||||
# This script must be invoked from the project's root.
|
||||
|
||||
# Prevent silly mistakes when people would invoke this from mbedtls
|
||||
if [ -d tf-psa-crypto -a -d library ]; then
|
||||
echo "When invoking this script from an mbedtls checkout," >&2
|
||||
echo "you must change the working directory to tf-psa-crypto." >&2
|
||||
exit 255
|
||||
fi
|
||||
|
||||
# The path is going to change when this is moved to the framework
|
||||
source ../tests/scripts/all-core.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user