remove trailing space from printed command
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/tests/scripts/quiet/quiet b/tests/scripts/quiet/quiet
index 7b54bdb..9c4939e 100755
--- a/tests/scripts/quiet/quiet
+++ b/tests/scripts/quiet/quiet
@@ -37,7 +37,7 @@
# 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 @@
# 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