aboutsummaryrefslogtreecommitdiff
path: root/stage2/ToolsTasks.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-08 22:29:29 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-06-08 22:37:39 -0400
commitb103b922f8671e7f45cef0cbd876ebe26cb0a2fa (patch)
treef5ed98ca10fbd55b73b1c743c6faa6ccda8f664d /stage2/ToolsTasks.scala
parentbf534fc64e54af905402833cace7687d73ba8817 (diff)
downloadcbt-b103b922f8671e7f45cef0cbd876ebe26cb0a2fa.tar.gz
cbt-b103b922f8671e7f45cef0cbd876ebe26cb0a2fa.tar.bz2
cbt-b103b922f8671e7f45cef0cbd876ebe26cb0a2fa.zip
Always create directory before trying to write file
Diffstat (limited to 'stage2/ToolsTasks.scala')
-rw-r--r--stage2/ToolsTasks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/ToolsTasks.scala b/stage2/ToolsTasks.scala
index df33b5d..d388f12 100644
--- a/stage2/ToolsTasks.scala
+++ b/stage2/ToolsTasks.scala
@@ -137,7 +137,7 @@ ${assignments.mkString("\n")}
}
"""
val file = nailgun ++ ("/" ++ "EarlyDependencies.java")
- Files.write( file.toPath, code.getBytes )
+ lib.write( file, code )
println( Console.GREEN ++ "Wrote " ++ file.string ++ Console.RESET )
}
}