wrap-for-bin.shon commit Add `init.templatedir` configuration variable. (90b4518)
   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@@'
  10GIT_TEMPLATE_DIR='@@BUILD_DIR@@/templates/blt'
  11GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib'
  12PATH='@@BUILD_DIR@@/bin-wrappers:'"$PATH"
  13export GIT_EXEC_PATH GIT_TEMPLATE_DIR GITPERLLIB PATH
  14
  15exec "${GIT_EXEC_PATH}/@@PROG@@" "$@"