|
OLD | NEW |
---|---|
(Empty) | |
1 @echo off | |
2 REM Call frogsh using node. | |
3 | |
4 set SCRIPTPATH=%~dp0 | |
5 | |
6 REM Does the string have a trailing slash? If so, remove it. | |
7 if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% | |
8 | |
9 REM Canonicalize the direction of the slashes. | |
10 set script=%* | |
11 set script=%script:\=/% | |
12 | |
13 node %SCRIPTPATH%\frogsh %script% | |
OLD | NEW |