summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/ant/sabbus/Make.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/ant/sabbus/Make.scala')
-rw-r--r--src/compiler/scala/tools/ant/sabbus/Make.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/ant/sabbus/Make.scala b/src/compiler/scala/tools/ant/sabbus/Make.scala
index 1908ab89b8..32ef5e0414 100644
--- a/src/compiler/scala/tools/ant/sabbus/Make.scala
+++ b/src/compiler/scala/tools/ant/sabbus/Make.scala
@@ -82,8 +82,7 @@ class Make extends Task {
override def execute: Unit = {
if (id.isEmpty) error("Mandatory attribute 'id' is not set.")
if (compilerPath.isEmpty) error("Mandatory attribute 'compilerpath' is not set.")
- if (destinationDir.isEmpty) error("Mandatory attribute 'destdir' is not set.")
- val settings = new CompilerSettings
+ val settings = new Settings
if (!destinationDir.isEmpty) settings.d = destinationDir.get
if (!compilationPath.isEmpty) settings.classpath = compilationPath.get
if (!sourcePath.isEmpty) settings.sourcepath = sourcePath.get