mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-12 10:13:39 +00: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:
parent
e03088b29e
commit
a9e8dbed14
@ -222,14 +222,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
|
||||
}
|
||||
|
||||
|
@ -15,4 +15,4 @@ export NO_SILENCE=" --version | test "
|
||||
|
||||
export TOOL="make"
|
||||
|
||||
exec $(dirname "$0")/quiet "$@"
|
||||
exec "$(dirname "$0")/quiet" "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user