diff options
author | Lex Spoon <lex@lexspoon.org> | 2006-03-09 16:19:46 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2006-03-09 16:19:46 +0000 |
commit | 99fce48f6cea1e7e803d81150afd13b0ddf69e3b (patch) | |
tree | e62de6ddc7078e21ec43e5f564fa2c84f223fadc /src | |
parent | cfcb34f4e333ca9fb2ad12a20c64ddaaf5f45507 (diff) | |
download | scala-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.scala | 2 |
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) |