mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +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:
@ -205,14 +205,8 @@ setup_quiet_wrappers()
|
|||||||
# unless there is an error. This reduces logging overhead in the CI.
|
# 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.
|
# Note that the cmake wrapper breaks unless we use an absolute path here.
|
||||||
export PATH=${PWD}/tests/scripts/quiet:$PATH
|
if [[ -e ${PWD}/tests/scripts/quiet ]]; then
|
||||||
if [[ ! -x ${PWD}/tests/scripts/quiet/make ]]; then
|
export PATH=${PWD}/tests/scripts/quiet:$PATH
|
||||||
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
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,4 +15,4 @@ export NO_SILENCE=" --version | test "
|
|||||||
|
|
||||||
export TOOL="make"
|
export TOOL="make"
|
||||||
|
|
||||||
exec $(dirname "$0")/quiet "$@"
|
exec "$(dirname "$0")/quiet" "$@"
|
||||||
|
Reference in New Issue
Block a user