1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Allow wrappers to be missing; quote directory name from make

Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman
2024-02-26 17:27:18 +00:00
parent 0b069bd5b1
commit e2317649dd
2 changed files with 3 additions and 9 deletions

View File

@ -205,14 +205,8 @@ setup_quiet_wrappers()
# unless there is an error. This reduces logging overhead in the CI.
#
# Note that the cmake wrapper breaks unless we use an absolute path here.
export PATH=${PWD}/tests/scripts/quiet:$PATH
if [[ ! -x ${PWD}/tests/scripts/quiet/make ]]; then
echo "can't find quiet/make"
exit 1
fi
if [[ ! -x ${PWD}/tests/scripts/quiet/cmake ]]; then
echo "can't find quiet/cmake"
exit 1
if [[ -e ${PWD}/tests/scripts/quiet ]]; then
export PATH=${PWD}/tests/scripts/quiet:$PATH
fi
}

View File

@ -15,4 +15,4 @@ export NO_SILENCE=" --version | test "
export TOOL="make"
exec $(dirname "$0")/quiet "$@"
exec "$(dirname "$0")/quiet" "$@"