1#!/bin/sh
23
# git executable wrapper script for Git-Mediawiki to run tests without
4# installing all the scripts and perl packages.
56
GIT_ROOT_DIR=../../..
7GIT_EXEC_PATH=$(cd "$(dirname "$0")" && cd ${GIT_ROOT_DIR} && pwd)
89
GITPERLLIB="$GIT_EXEC_PATH"'/contrib/mw-to-git'"${GITPERLLIB:+:$GITPERLLIB}"
10PATH="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$PATH"
1112
export GITPERLLIB PATH
1314
exec "${GIT_EXEC_PATH}/bin-wrappers/git" "$@"