aboutsummaryrefslogtreecommitdiff
path: root/stage2/Lib.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r--stage2/Lib.scala9
1 files changed, 2 insertions, 7 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala
index 52973f1..56f24c6 100644
--- a/stage2/Lib.scala
+++ b/stage2/Lib.scala
@@ -160,13 +160,8 @@ final class Lib(val logger: Logger) extends Stage1Lib(logger){
}.getOrElse{
if( context =!= null && (context.workingDirectory / name).exists ){
val newContext = context.copy( workingDirectory = context.workingDirectory / name )
- callInternal(
- DirectoryDependency( newContext.cwd )( newContext ).dependency,
- members.tail,
- previous :+ taskName,
- newContext,
- callback
- )
+ val build = DirectoryDependency( newContext, None ).dependency
+ callInternal( build, members.tail, previous :+ taskName, newContext, callback )
} else {
val p = previous.mkString(".")
val msg = (if(p.nonEmpty) p ++ s" has " else " ")