From 79bd32a6ccb1a882ddd2b1585ab155f568bf5ec7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 6 Dec 2008 13:32:37 +0200 Subject: [PATCH] [perf-diff] Fix cairo-perf-diff for git 1.6 Since git 1.6 the plumbing commands aren't installed in the user's path by default. This patch fixes cairo-perf-diff to find the git-sh-setup command from git's lib dir. (cherry picked from commit 0c0f4862c52d68776024f125b003ade455044b27) --- perf/cairo-perf-diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff index 50cd1f2c6..718cdc579 100755 --- a/perf/cairo-perf-diff +++ b/perf/cairo-perf-diff @@ -89,7 +89,7 @@ fi git_setup() { SUBDIRECTORY_OK='Yes' - . git-sh-setup + . "$(git --exec-path)/git-sh-setup" CAIRO_DIR=`dirname $GIT_DIR` if [ "$CAIRO_DIR" = "." ]; then CAIRO_DIR=`pwd`