Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: gclient.bat

Issue 10206030: Attempting to fix a C:\cygwin\bin\python.exe stack trace during windows deploy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.bat
===================================================================
--- gclient.bat (revision 134336)
+++ gclient.bat (working copy)
@@ -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" %*
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698