Use GIT_EXEC_PATH explicitly for initial git-init-db in tests.
This is just a belts-and-suspenders check, but makes sure we have both "git" and "git-init-db" built, executable, and checking. Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
0f737464a6
commit
10b94e283a
|
@ -190,8 +190,7 @@ test=trash
|
||||||
rm -fr "$test"
|
rm -fr "$test"
|
||||||
mkdir "$test"
|
mkdir "$test"
|
||||||
cd "$test"
|
cd "$test"
|
||||||
git init-db --template=../../templates/blt/ 2>/dev/null ||
|
"$GIT_EXEC_PATH/git" init-db --template=../../templates/blt/ 2>/dev/null ||
|
||||||
error "cannot run git init-db"
|
error "cannot run git init-db"
|
||||||
|
|
||||||
mv .git/hooks .git/hooks-disabled
|
mv .git/hooks .git/hooks-disabled
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue