diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-14 09:10:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-15 12:02:25 +0100 |
commit | f2057061c67236a79c8bb69b84e44e151109629a (patch) | |
tree | d5d301e507fd030ba272380f7e0ba793476aac92 | |
parent | 3fe50a77ea21bcddb701a8640b5ecad9f6f5ab01 (diff) |
[trace] Add sticky bit to (system-wide) trace output dir
Need to allow user programs to dump their traces into the common output
directory, when using /etc/ld.so.preload to capture traces for the entire
desktop.
-rw-r--r-- | util/cairo-trace/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cairo-trace/Makefile.am b/util/cairo-trace/Makefile.am index 50bd255e..6da0267e 100644 --- a/util/cairo-trace/Makefile.am +++ b/util/cairo-trace/Makefile.am @@ -19,7 +19,8 @@ cairo_trace_la_LIBADD = -ldl -lz $(BFD_LIBS) system-install: install - mkdir -p $(cairooutdir) + -mkdir -p $(cairooutdir) + -chmod 01777 $(cairooutdir) grep -sq $(cairolibdir)/cairo-trace.so /etc/ld.so.preload || echo $(cairolibdir)/cairo-trace.so >> /etc/ld.so.preload system-uninstall: uninstall |