From f2057061c67236a79c8bb69b84e44e151109629a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 14 Jun 2009 09:10:08 +0100 Subject: [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. --- util/cairo-trace/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3