diff options
author | Paul Phillips <paulp@improving.org> | 2010-06-16 17:32:47 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-06-16 17:32:47 +0000 |
commit | 4e9d57fd26861fcc050824054a9bd09c3fb1daaa (patch) | |
tree | 1c08e1bb9d58b627a9f2d5d9efbeb21d4390bd72 /src/compiler/scala/tools | |
parent | 97bd54ecf38bd8c4a29e2aee655fdbf7c29b0dcd (diff) | |
download | scala-4e9d57fd26861fcc050824054a9bd09c3fb1daaa.tar.gz scala-4e9d57fd26861fcc050824054a9bd09c3fb1daaa.tar.bz2 scala-4e9d57fd26861fcc050824054a9bd09c3fb1daaa.zip |
Fixed a bug in scripts which put the classfile ...
Fixed a bug in scripts which put the classfile directory at the wrong
end of the classpath. No review.
Diffstat (limited to 'src/compiler/scala/tools')
-rw-r--r-- | src/compiler/scala/tools/nsc/ScriptRunner.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ScriptRunner.scala b/src/compiler/scala/tools/nsc/ScriptRunner.scala index 088efe40ff..9a6aa78352 100644 --- a/src/compiler/scala/tools/nsc/ScriptRunner.scala +++ b/src/compiler/scala/tools/nsc/ScriptRunner.scala @@ -241,7 +241,7 @@ object ScriptRunner { scriptArgs: List[String]): Boolean = { val pr = new PathResolver(settings) - val classpath = pr.asURLs :+ File(compiledLocation).toURL + val classpath = File(compiledLocation).toURL +: pr.asURLs try { ObjectRunner.run(classpath, scriptMain(settings), scriptArgs) |