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

Send printed command to stderr

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman
2024-02-26 17:30:56 +00:00
parent 67126bbcea
commit 2f94766a61

View File

@ -45,9 +45,9 @@ if [[ ! " $* " =~ " --version " ]]; then
# Display the command being invoked - if it succeeds, this is all that will # Display the command being invoked - if it succeeds, this is all that will
# be displayed. Don't do this for invocations with --version, because # be displayed. Don't do this for invocations with --version, because
# this output is often parsed by scripts, so we don't want to modify it. # this output is often parsed by scripts, so we don't want to modify it.
printf %s "${TOOL}" printf %s "${TOOL}" 1>&2
print_quoted_args "$@" print_quoted_args "$@" 1>&2
echo echo 1>&2
fi fi
if [[ " $@ " =~ $NO_SILENCE || -n "${VERBOSE_LOGS}" ]]; then if [[ " $@ " =~ $NO_SILENCE || -n "${VERBOSE_LOGS}" ]]; then