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

Side by Side Diff: depot_tools/hammer.bat

Issue 8055016: Fix EOL issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: '' Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « depot_tools/git-cl-upload-hook ('k') | depot_tools/repo » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:eol-style
- native
+ CRLF
OLDNEW
1 @echo off 1 @echo off
2 2
3 3
4 @rem We're in a submodule directory, look relative to the parent. 4 @rem We're in a submodule directory, look relative to the parent.
5 call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %* 5 call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
6 goto omega 6 goto omega
7 7
8 :srcdir 8 :srcdir
9 call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %* 9 call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
10 goto omega 10 goto omega
11 11
12 @rem Per the following page: 12 @rem Per the following page:
13 @rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batc h-file-that-is-run-from-a-python-program/ 13 @rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batc h-file-that-is-run-from-a-python-program/
14 @rem Just calling "exit /b" passes back an exit code, but in a way 14 @rem Just calling "exit /b" passes back an exit code, but in a way
15 @rem that does NOT get picked up correctly when executing the .bat 15 @rem that does NOT get picked up correctly when executing the .bat
16 @rem file from the Python subprocess module. Using "call" as the 16 @rem file from the Python subprocess module. Using "call" as the
17 @rem last command in the .bat file makes it work as expected. 17 @rem last command in the .bat file makes it work as expected.
18 18
19 :returncode 19 :returncode
20 exit /b %ERRORLEVEL% 20 exit /b %ERRORLEVEL%
21 21
22 :omega 22 :omega
23 call :returncode %ERRORLEVEL% 23 call :returncode %ERRORLEVEL%
OLDNEW
« no previous file with comments | « depot_tools/git-cl-upload-hook ('k') | depot_tools/repo » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698