mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 02:18:03 +02: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
|
fi
|
||||||
|
|
||||||
if test -z "$filename"; then
|
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
|
elif test -z "$verbose"; then
|
||||||
echo "Recording trace in $filename."
|
echo "Recording trace in $filename."
|
||||||
CAIRO_TRACE_OUTFILE_EXACT=$filename $*
|
CAIRO_TRACE_OUTFILE_EXACT=$filename "$@"
|
||||||
else
|
else
|
||||||
CAIRO_TRACE_FD=3 $* 3>&1 >/dev/null | tee $filename
|
CAIRO_TRACE_FD=3 "$@" 3>&1 >/dev/null | tee $filename
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue