Chromium Code Reviews| Index: frog/scripts/bootstrap/frog.bat |
| =================================================================== |
| --- frog/scripts/bootstrap/frog.bat (revision 0) |
| +++ frog/scripts/bootstrap/frog.bat (revision 0) |
| @@ -0,0 +1,13 @@ |
| +@echo off |
|
Siggi Cherem (dart-lang)
2012/02/07 20:41:55
+ license comment
+ comment explaining this is a w
|
| +REM Call frog using python. |
| + |
| +set SCRIPTPATH=%~dp0 |
| + |
| +REM Does the string have a trailing slash? If so, remove it. |
| +if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% |
| + |
| +REM Canonicalize the direction of the slashes. |
| +set script=%* |
| +set script=%script:\=/% |
| + |
| +python %SCRIPTPATH%\frog %script% |