From 5255b2d1167796e2ec44d429d8fdd3a2b4981ddb Mon Sep 17 00:00:00 2001 From: "johnw@google.com" Date: Fri, 4 May 2012 18:24:21 +0000 Subject: [PATCH] Attempting to fix a C:\cygwin\bin\python.exe stack trace Review URL: https://chromiumcodereview.appspot.com/10206030 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@135377 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" %*