Make git binary tools auto update on mingw

R=dnj@chromium.org, pkasting@chromium.org
BUG=598941

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299556 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
iannucci@chromium.org
2016-03-30 01:46:41 +00:00
parent 8b7274b1a2
commit 02ef57e288
2 changed files with 7 additions and 3 deletions

View File

@@ -28,8 +28,8 @@ fi
# Don't try to use Cygwin tools. Get real win32 tools using the batch script.
OUTPUT="$(uname | grep 'CYGWIN')"
CYGWIN=$?
if [ $CYGWIN = 0 ]; then
cmd /c `cygpath -w "$base_dir/bootstrap/win/win_tools.bat"`
if [ $CYGWIN = 0 ] || [ $MINGW = 0 ]; then
$COMSPEC /c `cygpath -w "$base_dir/bootstrap/win/win_tools.bat"`
fi
CANONICAL_GIT_URL="https://chromium.googlesource.com/chromium/tools/depot_tools.git"