diff options
-rw-r--r-- | src/compiler/scala/tools/ant/templates/generic-unix.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/templates/generic-unix.tmpl b/src/compiler/scala/tools/ant/templates/generic-unix.tmpl index 0209f62c37..c06273c36e 100644 --- a/src/compiler/scala/tools/ant/templates/generic-unix.tmpl +++ b/src/compiler/scala/tools/ant/templates/generic-unix.tmpl @@ -89,7 +89,7 @@ fi QQ_USERARGS="-cp $MYCLASSPATH $QQ_USERARGS" for flag in "$@@" ; do - if [ $flag == '-version' ] ; then + if [ "$flag" == '-version' ] ; then echo "Scala runtime version @version@ -- @copyright@" ${JAVACMD:=java} -version exit 0 |