summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2008-05-20 12:00:49 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2008-05-20 12:00:49 +0000
commitf95cde8984bbf21ce38746773c6929fe52098953 (patch)
treeac4676d69b708e2501b18fe7d7c4cb9d5c7dafcc /src/compiler/scala/tools/ant/templates/tool-unix.tmpl
parent4686535142b380ccfad910250303e15bd41fb79d (diff)
downloadscala-f95cde8984bbf21ce38746773c6929fe52098953.tar.gz
scala-f95cde8984bbf21ce38746773c6929fe52098953.tar.bz2
scala-f95cde8984bbf21ce38746773c6929fe52098953.zip
Fixed issue #896: Scala script "execs" the JVM.
Diffstat (limited to 'src/compiler/scala/tools/ant/templates/tool-unix.tmpl')
-rw-r--r--src/compiler/scala/tools/ant/templates/tool-unix.tmpl2
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@ "$@@"