A refactoring left cygwin busted.
Create an update_depot_tools.bat file to use for updated when on cygwin, and properly call it from the update_depot_tools shell script and gclient batch files. BUG=none TEST=gclient sync and git cl work again on cygwin. Can also turn echo on in update_depot_tools.bat to verify updating working correctly. Review URL: http://codereview.chromium.org/3856006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@63234 0039d316-1c4b-4281-b951-d872f2087c98experimental/szager/collated-output
parent
b153d873cf
commit
7526fe3b28
@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
:: Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
||||
:: Use of this source code is governed by a BSD-style license that can be
|
||||
:: found in the LICENSE file.
|
||||
|
||||
:: This batch file will try to sync the root directory.
|
||||
|
||||
:: Shall skip automatic update?
|
||||
IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF
|
||||
|
||||
:: We can't sync if ..\.svn\. doesn't exist.
|
||||
IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF
|
||||
|
||||
:: Sync the .. directory to update the bootstrap at the same time.
|
||||
call svn -q up "%~dp0.."
|
Loading…
Reference in New Issue