diff options
author | Carl Worth <cworth@cworth.org> | 2006-11-14 13:27:52 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-11-14 15:13:58 -0800 |
commit | 0f7381b26eae74903754b4fb5c1220a8626df5f4 (patch) | |
tree | 2350c427580e210e3979706c172b870807abdba3 /perf/cairo-perf-diff | |
parent | f3f6ea3092072defb958ee3a6b2271cb51b4a4ca (diff) | |
download | cairo-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-x | perf/cairo-perf-diff | 1 |
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 |