Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/tlrobinson/narwhal
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Jul 25, 2009
2 parents bfa425e + c87f202 commit 96d9310
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
3 changes: 3 additions & 0 deletions bin/activate.cmd
@@ -0,0 +1,3 @@
@echo off

set PATH=%~dp0;%PATH%
1 change: 0 additions & 1 deletion bin/narwhal.cmd
Expand Up @@ -26,5 +26,4 @@ if exist %NARWHAL_HOME%\platforms\%NARWHAL_PLATFORM%. (
exit
)

:: FIXME: should this be "start" instead of "call" in case it's actually an executable?
call %NARWHAL_PLATFORM_HOME%\bin\%EXECUTABLE_NAME% %*
26 changes: 26 additions & 0 deletions bin/sea.cmd
@@ -0,0 +1,26 @@
@echo off
setlocal

set SHELL=cmd.exe

set PACKAGE_HOME=%~dp0\..

call %PACKAGE_HOME%\bin\activate.cmd

set OLDSEA=%SEA%
set SEA=%PACKAGE_HOME%
set /a SEALVL=%SEALVL% + 1

if "%1" == "" (
echo SEALVL=%SEALVL%
echo SEA=%SEA%
echo PATH=%PATH%
%SHELL%
) else (
echo "asdfasdfadsf"
%SHELL% %*
)

set /a SEALVL=%SEALVL% - 1
echo SEALVL=%SEALVL%
echo SEA=%OLDSEA%
1 change: 1 addition & 0 deletions bin/tusk.cmd
@@ -0,0 +1 @@
narwhal.cmd %~dpn0 %*
2 changes: 1 addition & 1 deletion platforms/rhino/bin/narwhal-rhino.cmd
Expand Up @@ -21,5 +21,5 @@ set JAVA_MAIN=org.mozilla.javascript.tools.shell.Main
if "%1" == "" (
java -cp "%CLASSPATH%" "%JAVA_MAIN%" -f "%BOOTSTRAP%" -f -
) else (
java -cp "%CLASSPATH%" "%JAVA_MAIN%" "%BOOTSTRAP%" "%0" "%*"
java -cp "%CLASSPATH%" "%JAVA_MAIN%" "%BOOTSTRAP%" "%0" %*
)

0 comments on commit 96d9310

Please sign in to comment.