Index: bootstrap/win/git-bash.template.sh |
diff --git a/bootstrap/win/git-bash.template.sh b/bootstrap/win/git-bash.template.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b34b5dc569db8255ad5335b153be1166679256e4 |
--- /dev/null |
+++ b/bootstrap/win/git-bash.template.sh |
@@ -0,0 +1,12 @@ |
+#!/usr/bin/env bash |
+export EDITOR=${EDITOR:=notepad} |
+WIN_BASE=`dirname $0` |
+UNIX_BASE=`cygpath "$WIN_BASE"` |
+export PATH=$PATH:$UNIX_BASE/SVN_BIN_DIR:$UNIX_BASE/PYTHON_BIN_DIR:$UNIX_BASE/PYTHON_BIN_DIR/Scripts |
+export PYTHON_DIRECT=1 |
+export PYTHONUNBUFFERED=1 |
+if [[ $# > 1 ]]; then |
+ $UNIX_BASE/GIT_BIN_DIR/bin/bash.exe "$@" |
+else |
+ $UNIX_BASE/GIT_BIN_DIR/git-bash.exe & |
+fi |