mirror of https://github.com/sbt/sbt.git
use writeable local builds directly
This commit is contained in:
parent
0de9b67073
commit
14e18f2350
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue