summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-03-09 16:19:46 +0000
committerLex Spoon <lex@lexspoon.org>2006-03-09 16:19:46 +0000
commit99fce48f6cea1e7e803d81150afd13b0ddf69e3b (patch)
treee62de6ddc7078e21ec43e5f564fa2c84f223fadc /src
parentcfcb34f4e333ca9fb2ad12a20c64ddaaf5f45507 (diff)
downloadscala-99fce48f6cea1e7e803d81150afd13b0ddf69e3b.tar.gz
scala-99fce48f6cea1e7e803d81150afd13b0ddf69e3b.tar.bz2
scala-99fce48f6cea1e7e803d81150afd13b0ddf69e3b.zip
slight tweak to support scalaint scripts
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/MainInterpreter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/MainInterpreter.scala b/src/compiler/scala/tools/nsc/MainInterpreter.scala
index d0b95cda8f..77b7306cc4 100644
--- a/src/compiler/scala/tools/nsc/MainInterpreter.scala
+++ b/src/compiler/scala/tools/nsc/MainInterpreter.scala
@@ -99,7 +99,7 @@ object MainInterpreter {
}
else if(line.startsWith("#!/")) // skip the first line of Unix scripts
()
- else if(line.startsWith("scalaint ")) // skip the second line of Unix scripts
+ else if(line.startsWith("exec scalaint ")) // skip the second line of Unix scripts
()
else
interpretOne(line)