use writeable local builds directly

This commit is contained in:
Mark Harrah 2012-02-13 22:01:05 -05:00
parent 0de9b67073
commit 14e18f2350
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ object Resolvers
val from = new File(uri)
val to = uniqueSubdirectoryFor(uri, in = info.staging)
if (from.isDirectory) Some {() => creates(to) {IO.copyDirectory(from, to)}}
if (from.isDirectory) Some {() => if(from.canWrite) from else creates(to) {IO.copyDirectory(from, to)}}
else None
}