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

Side by Side Diff: frog/scripts/bootstrap/frogsh.bat

Issue 9465034: Prettified Windows scripts and allowed Windows scripts to handle paths that have spaces. Also moved… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
OLDNEW
1 @echo off 1 @echo off
2 REM Call frogsh using node. 2 REM Call frogsh using node.
3 3
4 set SCRIPTPATH=%~dp0 4 set SCRIPTPATH=%~dp0
5 5
6 REM Does the string have a trailing slash? If so, remove it. 6 REM Does the string have a trailing slash? If so, remove it.
7 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% 7 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
8 8
9 REM Canonicalize the direction of the slashes. 9 REM Canonicalize the direction of the slashes.
10 set script=%* 10 set script=%*
11 set script=%script:\=/% 11 set script=%script:\=/%
12 12
13 node %SCRIPTPATH%\frogsh %script% 13 node "%SCRIPTPATH%\frogsh" --no_colors "%script%"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698