diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2008-05-20 12:00:49 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2008-05-20 12:00:49 +0000 |
commit | f95cde8984bbf21ce38746773c6929fe52098953 (patch) | |
tree | ac4676d69b708e2501b18fe7d7c4cb9d5c7dafcc | |
parent | 4686535142b380ccfad910250303e15bd41fb79d (diff) | |
download | scala-f95cde8984bbf21ce38746773c6929fe52098953.tar.gz scala-f95cde8984bbf21ce38746773c6929fe52098953.tar.bz2 scala-f95cde8984bbf21ce38746773c6929fe52098953.zip |
Fixed issue #896: Scala script "execs" the JVM.
-rw-r--r-- | src/compiler/scala/tools/ant/templates/tool-unix.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl index 0f7cfa7447..f75433bb64 100644 --- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl @@ -58,4 +58,4 @@ fi # Reminder: substitution ${JAVA_OPTS:=-Xmx256M -Xms16M} DO NOT work on Solaris [ -n "$JAVA_OPTS" ] || JAVA_OPTS="@javaflags@" -${JAVACMD:=java} $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS" @properties@ @class@ @toolflags@ "$@@" +exec ${JAVACMD:=java} $JAVA_OPTS -cp "$TOOL_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Denv.emacs="$EMACS" @properties@ @class@ @toolflags@ "$@@" |