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

Unified Diff: depot_tools/bootstrap/win/win_tools.bat

Issue 115184: Fix a problem with gclient not being able to download tools such as svn.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 11 years, 7 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: depot_tools/bootstrap/win/win_tools.bat
===================================================================
--- depot_tools/bootstrap/win/win_tools.bat (revision 15752)
+++ depot_tools/bootstrap/win/win_tools.bat (working copy)
@@ -10,8 +10,12 @@
:: returned.
set WIN_TOOLS_ROOT_URL=http://src.chromium.org/svn/trunk/tools
-set WIN_TOOLS_ROOT_DIR=%~dp0..\..
+:: Get absolute root directory (.js scripts don't handle relative paths well).
+pushd %~dp0..\..
+set WIN_TOOLS_ROOT_DIR=%CD%
+popd
+
if "%1" == "force" (
set WIN_TOOLS_FORCE=1
shift /1
« 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