summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-diff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-11-14 13:27:52 -0800
committerCarl Worth <cworth@cworth.org>2006-11-14 15:13:58 -0800
commit0f7381b26eae74903754b4fb5c1220a8626df5f4 (patch)
tree2350c427580e210e3979706c172b870807abdba3 /perf/cairo-perf-diff
parentf3f6ea3092072defb958ee3a6b2271cb51b4a4ca (diff)
downloadcairo-0f7381b26eae74903754b4fb5c1220a8626df5f4.tar.gz
cairo-perf-diff: Run git-ls-tree from the correct directory
Before this change, cairo-perf-diff would work correctly only if run from the top-level directory, (and if run from any other directory it would not pull in the latest boilerplate and perf files).
Diffstat (limited to 'perf/cairo-perf-diff')
-rwxr-xr-xperf/cairo-perf-diff1
1 files changed, 1 insertions, 0 deletions
diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff
index 1f2089e9c..47ac456b0 100755
--- a/perf/cairo-perf-diff
+++ b/perf/cairo-perf-diff
@@ -117,6 +117,7 @@ run_cairo_perf_if_not_cached() {
mkdir $CAIRO_PERF_DIR
fi
+ cd $CAIRO_DIR
boilerplate_files=$(git ls-tree --name-only HEAD boilerplate/*)
perf_files=$(git ls-tree --name-only HEAD perf/*)
cd $CAIRO_PERF_DIR