diff --git a/gclient.bat b/gclient.bat index e8cbba61c6..f851c13004 100755 --- a/gclient.bat +++ b/gclient.bat @@ -3,8 +3,11 @@ :: Use of this source code is governed by a BSD-style license that can be :: found in the LICENSE file. +:: This is required with cygwin only. +PATH=%~dp0;%PATH% + :: Synchronize the root directory before deferring control back to gclient.py. call "%~dp0\update_depot_tools.bat" :: Defer control. -python "%~dp0\gclient.py" %* +%~dp0python "%~dp0\gclient.py" %*