[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 0c0f4862c5)
This commit is contained in:
Chris Wilson 2008-12-06 13:32:37 +02:00
parent 97b5240bee
commit 79bd32a6cc

View file

@ -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`