Index: update_depot_tools.bat |
diff --git a/update_depot_tools.bat b/update_depot_tools.bat |
index 33fa40b220e8755ec693c924dc135e8a0e7be6c0..84b0a1f8ba070ce38f7deb2213dc5454b31d486d 100644 |
--- a/update_depot_tools.bat |
+++ b/update_depot_tools.bat |
@@ -27,6 +27,11 @@ if errorlevel 1 goto :EOF |
:: Now clear errorlevel so it can be set by other programs later. |
set errorlevel= |
+:: Initialize/update virtualenv. |
+cd /d "%DEPOT_TOOLS_DIR%." |
+python -u bootstrap\bootstrap.py --deps_file bootstrap\deps.pyl --quiet ENV |
+if errorlevel 1 goto :EOF |
+ |
:: Shall skip automatic update? |
IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF |