diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/ScalaSettings.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/settings/ScalaSettings.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala index 4a54dab75a..10ba5b200a 100644 --- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala @@ -28,7 +28,7 @@ trait ScalaSettings extends AbsScalaSettings * - Otherwise, if CLASSPATH is set, it is that * - If neither of those, then "." is used. */ - protected def defaultClasspath = Option(sys.props("CLASSPATH")) getOrElse "." + protected def defaultClasspath = sys.env.getOrElse("CLASSPATH", ".") /** Disable a setting */ def disable(s: Setting) = allSettings -= s |