diff options
author | michelou <michelou@epfl.ch> | 2007-06-05 14:58:52 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-06-05 14:58:52 +0000 |
commit | e060c61b6127ceb2de0e4ce5d3f3d685bc542804 (patch) | |
tree | 4664cb31b8fae00aebde2b2055c659006e067ebe | |
parent | e92dd1b6740d45438939b7360ed54adebf1350fa (diff) | |
download | scala-e060c61b6127ceb2de0e4ce5d3f3d685bc542804.tar.gz scala-e060c61b6127ceb2de0e4ce5d3f3d685bc542804.tar.bz2 scala-e060c61b6127ceb2de0e4ce5d3f3d685bc542804.zip |
fixed ilasm test in generated scripts
-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 1a303c2831..913a747e48 100644 --- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl @@ -70,7 +70,7 @@ if $cygwin; then BOOT_CLASSPATH=`cygpath --path --$format "$BOOT_CLASSPATH"` fi -ILASM=`which ilasm` +ILASM=`which ilasm 2>/dev/null` [ -x "$ILASM" ] || ILASM="" ${JAVACMD:=java} ${JAVA_OPTS:=@javaflags@} -Xbootclasspath/a:"$BOOT_CLASSPATH" -cp "$EXTENSION_CLASSPATH" -Dscala.home="$SCALA_HOME" -Denv.classpath="$CLASSPATH" -Dilasm.tool="$ILASM" @properties@ @class@ @toolflags@ "$@@" |