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

Unified Diff: depot_tools/chrome-update-create-task.bat

Issue 8055016: Fix EOL issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: '' Created 9 years, 3 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 | « depot_tools/chrome-update.bat ('k') | depot_tools/chromite_wrapper » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: depot_tools/chrome-update-create-task.bat
===================================================================
--- depot_tools/chrome-update-create-task.bat (revision 102934)
+++ depot_tools/chrome-update-create-task.bat (working copy)
@@ -1,52 +1,52 @@
-@echo off
-:: Copyright (c) 2009 The Chromium Authors. All rights reserved.
-:: Use of this source code is governed by a BSD-style license that can be
-:: found in the LICENSE file.
-
-setlocal
-
-:: This script will create a scheduled task to run chrome-update every day
-:: at the time you specify. This script expects to be live in
-:: depot_tools\latest.
-::
-:: Usage: this-script <time to run task> <path to chrome trunk>
-
-set Out=%USERPROFILE%\chrome-update-task.bat
-set TaskTime=%1
-set Trunk=%~f2
-
-if not exist "%Trunk%" (
- echo Usage: %~n0 ^<time^> ^<c:\path\to\chrome\trunk^>
- echo ^<time^> is the time in HH:MM:SS format at which to run the task.
- echo Example: %~n0 02:00:00 c:\src\chrome\trunk
- goto :EOF
-)
-
-if not exist "%Out%" goto CreateScript
-
-echo WARNING: %Out% already exists.
-set Choice=
-set /P Choice=Overwrite file [Y/N]?
-if not "%Choice%"=="y" goto CreateTask
-
-:CreateScript
-
-echo.
-echo Creating %Out%
-
-echo>"%Out%" @echo off
-echo>>"%Out%" "%~dp0chrome-update.bat" "%Trunk%" --solution chrome.sln --target Debug --build-dir src/chrome ^> "%Trunk%\chrome-update-results.txt"
-
-:CreateTask
-
-echo.
-echo ***********************************************************************
-echo Creating a Scheduled Task to run chrome-update each day at %TaskTime%.
-echo The batch file being run will live at %Out%.
-echo.
-echo WARNING: The password you enter will be displayed in cleartext.
-echo If you're paranoid, you can enter blank here and then fix the password
-echo by editing the scheduled task manually from the Control Panel.
-echo ***********************************************************************
-echo.
-schtasks /create /tn chrome-update /tr "\"%Out%\"" /sc daily /st %TaskTime%
+@echo off
+:: Copyright (c) 2009 The Chromium Authors. All rights reserved.
+:: Use of this source code is governed by a BSD-style license that can be
+:: found in the LICENSE file.
+
+setlocal
+
+:: This script will create a scheduled task to run chrome-update every day
+:: at the time you specify. This script expects to be live in
+:: depot_tools\latest.
+::
+:: Usage: this-script <time to run task> <path to chrome trunk>
+
+set Out=%USERPROFILE%\chrome-update-task.bat
+set TaskTime=%1
+set Trunk=%~f2
+
+if not exist "%Trunk%" (
+ echo Usage: %~n0 ^<time^> ^<c:\path\to\chrome\trunk^>
+ echo ^<time^> is the time in HH:MM:SS format at which to run the task.
+ echo Example: %~n0 02:00:00 c:\src\chrome\trunk
+ goto :EOF
+)
+
+if not exist "%Out%" goto CreateScript
+
+echo WARNING: %Out% already exists.
+set Choice=
+set /P Choice=Overwrite file [Y/N]?
+if not "%Choice%"=="y" goto CreateTask
+
+:CreateScript
+
+echo.
+echo Creating %Out%
+
+echo>"%Out%" @echo off
+echo>>"%Out%" "%~dp0chrome-update.bat" "%Trunk%" --solution chrome.sln --target Debug --build-dir src/chrome ^> "%Trunk%\chrome-update-results.txt"
+
+:CreateTask
+
+echo.
+echo ***********************************************************************
+echo Creating a Scheduled Task to run chrome-update each day at %TaskTime%.
+echo The batch file being run will live at %Out%.
+echo.
+echo WARNING: The password you enter will be displayed in cleartext.
+echo If you're paranoid, you can enter blank here and then fix the password
+echo by editing the scheduled task manually from the Control Panel.
+echo ***********************************************************************
+echo.
+schtasks /create /tn chrome-update /tr "\"%Out%\"" /sc daily /st %TaskTime%
Property changes on: depot_tools/chrome-update-create-task.bat
___________________________________________________________________
Modified: svn:eol-style
- native
+ CRLF
« no previous file with comments | « depot_tools/chrome-update.bat ('k') | depot_tools/chromite_wrapper » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698