Skip to content

Commit

Permalink
remove support for old-style-groovysh as its implementation Interacti…
Browse files Browse the repository at this point in the history
…veShell was deprecated and has already been removed
  • Loading branch information
roshandawrani committed Sep 23, 2011
1 parent 3c47089 commit f398118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/bin/groovysh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,8 +30,4 @@ DIRNAME=`dirname "$PRG"`


. "$DIRNAME/startGroovy" . "$DIRNAME/startGroovy"


if [ "x$OLDSHELL" != "x" ]; then startGroovy org.codehaus.groovy.tools.shell.Main "$@"
startGroovy groovy.ui.InteractiveShell "$@"
else
startGroovy org.codehaus.groovy.tools.shell.Main "$@"
fi
3 changes: 1 addition & 2 deletions src/bin/groovysh.bat
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0 set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.\ if "%DIRNAME%" == "" set DIRNAME=.\


set CLASSNAME=groovy.ui.InteractiveShell set CLASSNAME=org.codehaus.groovy.tools.shell.Main
if "%OLDSHELL%" == "" set CLASSNAME=org.codehaus.groovy.tools.shell.Main


"%DIRNAME%\startGroovy.bat" "%DIRNAME%" %CLASSNAME% %* "%DIRNAME%\startGroovy.bat" "%DIRNAME%" %CLASSNAME% %*


Expand Down

0 comments on commit f398118

Please sign in to comment.