Merge branch 'jk/format-patch-from' into maint
[git] / contrib / mw-to-git / bin-wrapper / git
1 #!/bin/sh
2
3 # git executable wrapper script for Git-Mediawiki to run tests without
4 # installing all the scripts and perl packages.
5
6 GIT_ROOT_DIR=../../..
7 GIT_EXEC_PATH=$(cd "$(dirname "$0")" && cd ${GIT_ROOT_DIR} && pwd)
8
9 GITPERLLIB="$GIT_EXEC_PATH"'/contrib/mw-to-git'"${GITPERLLIB:+:$GITPERLLIB}"
10 PATH="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$PATH"
11
12 export GITPERLLIB PATH
13
14 exec "${GIT_EXEC_PATH}/bin-wrappers/git" "$@"