mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-03 07:00:15 +01:00
[trace] Fix up positional arguments
James Cloos pointed out that the correct form to use is "$@" when executing the command line.
This commit is contained in:
parent
e76a676c8f
commit
4320ea6887
1 changed files with 3 additions and 3 deletions
|
|
@ -89,10 +89,10 @@ if test -n "$flush"; then
|
|||
fi
|
||||
|
||||
if test -z "$filename"; then
|
||||
CAIRO_TRACE_FD=3 $* 3>&1 >/dev/null
|
||||
CAIRO_TRACE_FD=3 "$@" 3>&1 >/dev/null
|
||||
elif test -z "$verbose"; then
|
||||
echo "Recording trace in $filename."
|
||||
CAIRO_TRACE_OUTFILE_EXACT=$filename $*
|
||||
CAIRO_TRACE_OUTFILE_EXACT=$filename "$@"
|
||||
else
|
||||
CAIRO_TRACE_FD=3 $* 3>&1 >/dev/null | tee $filename
|
||||
CAIRO_TRACE_FD=3 "$@" 3>&1 >/dev/null | tee $filename
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue