#!/bin/sh # wrap-for-bin.sh: Template for git executable wrapper scripts # to run test suite against sandbox, but with only bindir-installed # executables in PATH. The Makefile copies this into various # files in bin-wrappers, substituting # /usr/local/src/git-1.7.12.4 and test-line-buffer. GIT_EXEC_PATH='/usr/local/src/git-1.7.12.4' if test -n "$NO_SET_GIT_TEMPLATE_DIR" then unset GIT_TEMPLATE_DIR else GIT_TEMPLATE_DIR='/usr/local/src/git-1.7.12.4/templates/blt' export GIT_TEMPLATE_DIR fi GITPERLLIB='/usr/local/src/git-1.7.12.4/perl/blib/lib' GIT_TEXTDOMAINDIR='/usr/local/src/git-1.7.12.4/po/build/locale' PATH='/usr/local/src/git-1.7.12.4/bin-wrappers:'"$PATH" export GIT_EXEC_PATH GITPERLLIB PATH GIT_TEXTDOMAINDIR exec "${GIT_EXEC_PATH}/test-line-buffer" "$@"