#!/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

#!/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 [[ $# > 0 ]]; then
  $UNIX_BASE/GIT_BIN_DIR/bin/bash.exe "$@"
else
  $UNIX_BASE/GIT_BIN_DIR/git-bash.exe &
fi

Fix bash math for `git bash` alias.
Fix bash math for `git bash` alias.

Previous calculation was off-by-one.

TBR=dnj@chromium.org, mmoss@chromium.org
BUG=598956

Review URL: https://codereview.chromium.org/1848793004 .

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@299619 0039d316-1c4b-4281-b951-d872f2087c98
