Commit 51bcc430 authored by iannucci@chromium.org's avatar iannucci@chromium.org

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: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299619 0039d316-1c4b-4281-b951-d872f2087c98
parent 0703ea2c
......@@ -5,7 +5,7 @@ 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
if [[ $# > 0 ]]; then
$UNIX_BASE/GIT_BIN_DIR/bin/bash.exe "$@"
else
$UNIX_BASE/GIT_BIN_DIR/git-bash.exe &
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment