From 26b74049e79a6137e8556e1b3e5c3aedd780abb0 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 10 Nov 2006 10:31:14 -0800 Subject: [PATCH] cairo-perf-diff: Use rsync instead of cp to avoid some unnecessary rebuilding --- perf/cairo-perf-diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff index a50fe14f8..0ef32eb8d 100755 --- a/perf/cairo-perf-diff +++ b/perf/cairo-perf-diff @@ -127,9 +127,9 @@ run_cairo_perf_if_not_cached() { git checkout tmp-cairo-perf-diff git reset --hard $sha make CFLAGS="-O2" || (rm config.cache && make CFLAGS="-O2") - cp -a $CAIRO_DIR/boilerplate . + rsync -rl $CAIRO_DIR/boilerplate . (cd boilerplate; make) - cp -a $CAIRO_DIR/perf . + rsync -rl $CAIRO_DIR/perf . cd perf; make || exit 1 echo "Running \"cairo-perf $CAIRO_PERF_OPTIONS\" against $rev. Results will be cached in:"