contrib / mw-to-git / bin-wrapper / giton commit Merge branch 'sb/misc-cleanup' (2bdd872)
   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
   6GIT_ROOT_DIR=../../..
   7GIT_EXEC_PATH=$(cd "$(dirname "$0")" && cd ${GIT_ROOT_DIR} && pwd)
   8
   9GITPERLLIB="$GIT_EXEC_PATH"'/contrib/mw-to-git'"${GITPERLLIB:+:$GITPERLLIB}"
  10PATH="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$PATH"
  11
  12export GITPERLLIB PATH
  13
  14exec "${GIT_EXEC_PATH}/bin-wrappers/git" "$@"