mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-22 04:20:59 +00:00
remove trailing space from printed command
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
dbc2e8d4cc
commit
67126bbcea
@ -37,7 +37,7 @@ print_quoted_args() {
|
||||
# CFLAGS=a b -> CFLAGS='a b'
|
||||
q="${BASH_REMATCH[1]}'${BASH_REMATCH[2]}'"
|
||||
fi
|
||||
printf "%s " "$q"
|
||||
printf " %s" "$q"
|
||||
done
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ if [[ ! " $* " =~ " --version " ]]; then
|
||||
# Display the command being invoked - if it succeeds, this is all that will
|
||||
# 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.
|
||||
printf %s "${TOOL} "
|
||||
printf %s "${TOOL}"
|
||||
print_quoted_args "$@"
|
||||
echo
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user