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

Unified Diff: update_depot_tools.bat

Issue 1232023004: Issue 507301: gclient doesn't work on a path with space characters (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools@master
Patch Set: Created 5 years, 5 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 | « gclient.bat ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_depot_tools.bat
diff --git a/update_depot_tools.bat b/update_depot_tools.bat
index 84b0a1f8ba070ce38f7deb2213dc5454b31d486d..1e3ca1009f8b49811871ebfe4ba674cab0344e6c 100644
--- a/update_depot_tools.bat
+++ b/update_depot_tools.bat
@@ -10,13 +10,13 @@ setlocal
:: Windows freaks out if a file is overwritten while it's being executed. Copy
:: this script off to a temporary location and reinvoke from there before
:: running any svn or git commands.
-IF %~nx0==update_depot_tools.bat (
- COPY /Y %~dp0update_depot_tools.bat %TEMP%\update_depot_tools_tmp.bat >nul
+IF "%~nx0"=="update_depot_tools.bat" (
+ COPY /Y "%~dp0update_depot_tools.bat" "%TEMP%\update_depot_tools_tmp.bat" >nul
if errorlevel 1 goto :EOF
- %TEMP%\update_depot_tools_tmp.bat %~dp0 %*
+ "%TEMP%\update_depot_tools_tmp.bat" "%~dp0" %*
)
-set DEPOT_TOOLS_DIR=%1
+set DEPOT_TOOLS_DIR=%~1
SHIFT
set GIT_URL=https://chromium.googlesource.com/chromium/tools/depot_tools.git
« no previous file with comments | « gclient.bat ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698