mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Replace all rem comments with :: comments in batch files
Though the Microsoft docs recommend using rem to write comments, it has a shortcoming - redirection characters (< or >) or pipes (|) aren't allowed. However, :: though undocumented, is a better alternative as it allows such characters. Signed-off-by: Darshan Sen <raisinten@gmail.com> Change-Id: I95a0445168527ab5087246238f0216d5f6177046 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3400399 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org>
This commit is contained in:
@@ -13,7 +13,7 @@ setlocal
|
||||
IF "%~nx0"=="update_depot_tools.bat" (
|
||||
COPY /Y "%~dp0update_depot_tools.bat" "%TEMP%\update_depot_tools_tmp.bat" >nul
|
||||
if errorlevel 1 goto :EOF
|
||||
REM Use call/exit to avoid leaving an orphaned window title.
|
||||
:: Use call/exit to avoid leaving an orphaned window title.
|
||||
call "%TEMP%\update_depot_tools_tmp.bat" "%~dp0" %*
|
||||
exit /b
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user