[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:
Chris Wilson 2008-12-26 00:01:01 +00:00
parent e76a676c8f
commit 4320ea6887

View file

@ -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