]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib-functions.sh
Prepare for 2.20-rc1
[thirdparty/git.git] / t / test-lib-functions.sh
index 4397c01be03b376b7eb942c0e89032190ad82313..b4e391526a2957fe2e578d226ef756321e51aef7 100644 (file)
@@ -923,7 +923,8 @@ test_create_repo () {
        mkdir -p "$repo"
        (
                cd "$repo" || error "Cannot setup test environment"
-               "$GIT_EXEC_PATH/git-init" "--template=$GIT_BUILD_DIR/templates/blt/" >&3 2>&4 ||
+               "${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" init \
+                       "--template=$GIT_BUILD_DIR/templates/blt/" >&3 2>&4 ||
                error "cannot run git init -- have you built things yet?"
                mv .git/hooks .git/hooks-disabled
        ) || exit