aboutsummaryrefslogtreecommitdiff
path: root/stage2/Stage2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r--stage2/Stage2.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala
index 93f0a77..7ac7a2a 100644
--- a/stage2/Stage2.scala
+++ b/stage2/Stage2.scala
@@ -4,7 +4,7 @@ import java.util._
object Stage2 extends Stage2Base{
def getBuild(context: Context) = {
- new Lib( context.logger ).loadRoot( context ).finalBuild
+ new Lib( context.logger ).loadRoot( context ).finalBuild( context.cwd )
}
def run( args: Stage2Args ): ExitCode = {
@@ -39,7 +39,7 @@ object Stage2 extends Stage2Base{
null
)
val first = lib.loadRoot( context )
- val build = first.finalBuild
+ val build = first.finalBuild( context.cwd )
val res =
if (loop) {
@@ -57,7 +57,7 @@ object Stage2 extends Stage2Base{
scala.util.control.Breaks.break
case file if triggerFiles.exists(file.toString startsWith _.toString) =>
- val build = lib.loadRoot(context).finalBuild
+ val build = lib.loadRoot(context).finalBuild( context.cwd )
logger.loop(s"Re-running $task for " ++ build.show)
lib.callReflective(build, task)
}