Squashed 'third_party/git/' content from commit cb71568594
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
This commit is contained in:
commit
1b593e1ea4
3629 changed files with 1139935 additions and 0 deletions
14
contrib/mw-to-git/bin-wrapper/git
Executable file
14
contrib/mw-to-git/bin-wrapper/git
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
# git executable wrapper script for Git-Mediawiki to run tests without
|
||||
# installing all the scripts and perl packages.
|
||||
|
||||
GIT_ROOT_DIR=../../..
|
||||
GIT_EXEC_PATH=$(cd "$(dirname "$0")" && cd ${GIT_ROOT_DIR} && pwd)
|
||||
|
||||
GITPERLLIB="$GIT_EXEC_PATH"'/contrib/mw-to-git'"${GITPERLLIB:+:$GITPERLLIB}"
|
||||
PATH="$GIT_EXEC_PATH"'/contrib/mw-to-git:'"$PATH"
|
||||
|
||||
export GITPERLLIB PATH
|
||||
|
||||
exec "${GIT_EXEC_PATH}/bin-wrappers/git" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue