From af0b79e758e31879e9d5fb3a918c80dfde897adc Mon Sep 17 00:00:00 2001 From: "sergiyb@chromium.org" Date: Mon, 20 Jul 2015 11:55:37 +0000 Subject: [PATCH] Restore depot_tools autoupdate in Windows. Original CL: https://codereview.chromium.org/1242013003/ Executing a bat file from another bat file will replace that first bat file with the second one. To call the second one and then return and execute the rest of the first one, you have to do "call second.bat" "python" is really "python.bat" so that this happened was not obvious. More obvious now. R=bratell@opera.com TBR=pgervais@chromium.org BUG=511926 Review URL: https://codereview.chromium.org/1239263003 . git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296063 0039d316-1c4b-4281-b951-d872f2087c98 --- update_depot_tools.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_depot_tools.bat b/update_depot_tools.bat index 84b0a1f8b..983a29e5f 100644 --- a/update_depot_tools.bat +++ b/update_depot_tools.bat @@ -29,7 +29,7 @@ set errorlevel= :: Initialize/update virtualenv. cd /d "%DEPOT_TOOLS_DIR%." -python -u bootstrap\bootstrap.py --deps_file bootstrap\deps.pyl --quiet ENV +call python.bat -u bootstrap\bootstrap.py --deps_file bootstrap\deps.pyl --quiet ENV if errorlevel 1 goto :EOF :: Shall skip automatic update?