mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-29 19:38:17 +02:00
[trace] Set output location using pwd
Record the current working directory and pass that along to cairo-trace so that the trace output is local to the user and not the application. This is vital if the application is called via a script that changes directory.
This commit is contained in:
parent
a76e09ea65
commit
a364f71194
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ if test -n "$flush"; then
|
|||
fi
|
||||
|
||||
if test -z "$nofile"; then
|
||||
CAIRO_TRACE_OUTDIR=. "$@"
|
||||
CAIRO_TRACE_OUTDIR=`pwd` "$@"
|
||||
else
|
||||
CAIRO_TRACE_FD=3 "$@" 3>&1 >/dev/null
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue