Merge branch 'dm/make-threaded-simplify'
[git/jrn.git] / wrap-for-bin.sh
blobc5075c9c61ca97923e233622061da8365641b6c4
1 #!/bin/sh
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@@.
9 GIT_EXEC_PATH='@@BUILD_DIR@@'
10 GIT_TEMPLATE_DIR='@@BUILD_DIR@@/templates/blt'
11 GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib'
12 PATH='@@BUILD_DIR@@/bin-wrappers:'"$PATH"
13 export GIT_EXEC_PATH GIT_TEMPLATE_DIR GITPERLLIB PATH
15 exec "${GIT_EXEC_PATH}/@@PROG@@" "$@"