]> git.ipfire.org Git - thirdparty/git.git/blame - wrap-for-bin.sh
i18n: add infrastructure for translating Git with gettext
[thirdparty/git.git] / wrap-for-bin.sh
CommitLineData
ea925196
MO
1#!/bin/sh
2
3# wrap-for-bin.sh: Template for git executable wrapper scripts
4# to run test suite against sandbox, but with only bindir-installed
5# executables in PATH. The Makefile copies this into various
6# files in bin-wrappers, substituting
7# @@BUILD_DIR@@ and @@PROG@@.
8
9GIT_EXEC_PATH='@@BUILD_DIR@@'
160ad147
JH
10if test -n "$NO_SET_GIT_TEMPLATE_DIR"
11then
12 unset GIT_TEMPLATE_DIR
13else
a94d305b 14 GIT_TEMPLATE_DIR='@@BUILD_DIR@@/templates/blt'
160ad147
JH
15 export GIT_TEMPLATE_DIR
16fi
ea925196 17GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib'
5e9637c6 18GIT_TEXTDOMAINDIR='@@BUILD_DIR@@/po/build/locale'
ea925196 19PATH='@@BUILD_DIR@@/bin-wrappers:'"$PATH"
5e9637c6 20export GIT_EXEC_PATH GITPERLLIB PATH GIT_TEXTDOMAINDIR
ea925196
MO
21
22exec "${GIT_EXEC_PATH}/@@PROG@@" "$@"