aboutsummaryrefslogtreecommitdiff
path: root/stage2/Stage2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r--stage2/Stage2.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala
index c6783d4..ed63cf1 100644
--- a/stage2/Stage2.scala
+++ b/stage2/Stage2.scala
@@ -27,7 +27,7 @@ object Stage2{
}
val task = argsV.lift( taskIndex )
- val context = Context( argsV(0), argsV.drop( taskIndex + 1 ), logger )
+ val context = Context( new File(argsV(0)), argsV.drop( taskIndex + 1 ), logger )
val first = lib.loadRoot( context )
val build = first.finalBuild
@@ -38,7 +38,7 @@ object Stage2{
val triggerCbtFiles = Seq( nailgun, stage1, stage2 ).map(lib.realpath _)
val allTriggerFiles = triggerFiles ++ triggerCbtFiles
- logger.loop("Looping change detection over:\n - "+allTriggerFiles.mkString("\n - "))
+ logger.loop("Looping change detection over:\n - "++allTriggerFiles.mkString("\n - "))
lib.watch(allTriggerFiles) {
case file if triggerCbtFiles.exists(file.toString startsWith _.toString) =>