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

Unified 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, 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/git-cl-upload-hook ('k') | depot_tools/repo » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: depot_tools/hammer.bat
===================================================================
--- depot_tools/hammer.bat (revision 102934)
+++ depot_tools/hammer.bat (working copy)
@@ -1,23 +1,23 @@
-@echo off
-
-
-@rem We're in a submodule directory, look relative to the parent.
-call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
-goto omega
-
-:srcdir
-call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
-goto omega
-
-@rem Per the following page:
-@rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batch-file-that-is-run-from-a-python-program/
-@rem Just calling "exit /b" passes back an exit code, but in a way
-@rem that does NOT get picked up correctly when executing the .bat
-@rem file from the Python subprocess module. Using "call" as the
-@rem last command in the .bat file makes it work as expected.
-
-:returncode
-exit /b %ERRORLEVEL%
-
-:omega
-call :returncode %ERRORLEVEL%
+@echo off
+
+
+@rem We're in a submodule directory, look relative to the parent.
+call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
+goto omega
+
+:srcdir
+call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
+goto omega
+
+@rem Per the following page:
+@rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batch-file-that-is-run-from-a-python-program/
+@rem Just calling "exit /b" passes back an exit code, but in a way
+@rem that does NOT get picked up correctly when executing the .bat
+@rem file from the Python subprocess module. Using "call" as the
+@rem last command in the .bat file makes it work as expected.
+
+:returncode
+exit /b %ERRORLEVEL%
+
+:omega
+call :returncode %ERRORLEVEL%
Property changes on: depot_tools/hammer.bat
___________________________________________________________________
Modified: svn:eol-style
- native
+ CRLF
« 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