msysGit-based Git for Windows 1.x was superseded by Git for Windows 2.x
[git/mingw/4msysgit.git] / contrib / mw-to-git / bin-wrapper / git
blob6663ae57e869a950c00eb4fbe678c067109605c2
1 #!/bin/sh
3 # git executable wrapper script for Git-Mediawiki to run tests without
4 # installing all the scripts and perl packages.
6 GIT_ROOT_DIR=../../..
7 GIT_EXEC_PATH=$(cd "$(dirname "$0")" && cd ${GIT_ROOT_DIR} && pwd)
9 GITPERLLIB="$GIT_EXEC_PATH"'/contrib/mw-to-git'"${GITPERLLIB:+:$GITPERLLIB}"
10 PATH="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$PATH"
12 export GITPERLLIB PATH
14 exec "${GIT_EXEC_PATH}/bin-wrappers/git" "$@"