Fixed a bug in scripts which put the classfile directory at the

wrong end of the classpath.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22322 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2010-06-16 17:32:47 +00:00
parent 9dfab5b57d
commit 46cf65b7da
1 changed files with 1 additions and 1 deletions

View File

@ -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)