From: Matthew Ogilvie Date: Mon, 30 Nov 2009 06:19:26 GMT Subject: [PATCH v2 1/6] t2300: use documented technique to invoke git-sh-setup Message-ID: <1259561971-25730-2-git-send-email-mmogilvi_git@miniinfo.net> In-Reply-To: <1259561971-25730-1-git-send-email-mmogilvi_git@miniinfo.net> This is needed to allow the test suite to run against a standard install bin directory instead of GIT_EXEC_PATH. Signed-off-by: Matthew Ogilvie --- t/t2300-cd-to-toplevel.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/t2300-cd-to-toplevel.sh b/t/t2300-cd-to-toplevel.sh index 3b01ad2..9965bc5 100755 --- a/t/t2300-cd-to-toplevel.sh +++ b/t/t2300-cd-to-toplevel.sh @@ -8,7 +8,7 @@ test_cd_to_toplevel () { test_expect_success $3 "$2" ' ( cd '"'$1'"' && - . git-sh-setup && + . "$(git --exec-path)"/git-sh-setup && cd_to_toplevel && [ "$(pwd -P)" = "$TOPLEVEL" ] ) -- 1.6.4.GIT