diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2006-04-20 14:56:21 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2006-04-20 14:56:21 +0000 |
commit | 5fe735b785e0d57f574809ad29dbc52273875156 (patch) | |
tree | 883e90df6ceadef8064773921c676f3cd3a48e9d /src/compiler/scala/tools/ant/templates/tool-unix.tmpl | |
parent | 95fa0a32b3b541ac4f49a9eb91bdc6da18089dbf (diff) | |
download | scala-5fe735b785e0d57f574809ad29dbc52273875156.tar.gz scala-5fe735b785e0d57f574809ad29dbc52273875156.tar.bz2 scala-5fe735b785e0d57f574809ad29dbc52273875156.zip |
Simplified runner scripts just a bit.
Diffstat (limited to 'src/compiler/scala/tools/ant/templates/tool-unix.tmpl')
-rw-r--r-- | src/compiler/scala/tools/ant/templates/tool-unix.tmpl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl index c6693fe1ec..538566745b 100644 --- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl @@ -56,13 +56,6 @@ if [ "$BOOT_CLASSPATH" != "" ] ; then fi fi -for flag in "$@@" ; do - if [ "$flag" = '-version' ] ; then - echo "@name@ version @version@ -- @copyright@" - exit 0 - fi -done - if $cygwin; then if [ "$OS" = "Windows_NT" ] && cygpath -m .>/dev/null 2>/dev/null ; then format=mixed @@ -75,4 +68,4 @@ if $cygwin; then MYCLASSPATH=`cygpath --path --$format "$MYCLASSPATH"` fi -${JAVACMD:=java} @javaflags@ -cp "$MYCLASSPATH" -Dscala.home="$SCALA_HOME" -Dscala.boot.class.path="$BOOT_CLASSPATH" -Dscala.ext.path="$EXTENSION_CLASSPATH" -Denv.classpath="$CLASSPATH" -Dscala.tool.name="@name@" -Dscala.tool.version="@version@" @properties@ @class@ @toolflags@ $@@ +${JAVACMD:=java} @javaflags@ -cp "$MYCLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Dscala.tool.name="@name@" -Dscala.tool.version="@version@" @properties@ @class@ @toolflags@ "$@@" |