This commit is contained in:
Alexandre Archambault 2016-04-13 00:34:19 +02:00
parent 903a4b119e
commit 14682fc703
No known key found for this signature in database
GPG Key ID: 14640A6839C263A9
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package coursier
package cli
import java.io.{ FileInputStream, ByteArrayOutputStream, File, IOException }
import java.io.{ FileInputStream, ByteArrayInputStream, ByteArrayOutputStream, File, IOException }
import java.nio.file.Files
import java.nio.file.attribute.PosixFilePermission
import java.util.Properties
@ -121,7 +121,7 @@ case class Bootstrap(
val buffer = new ByteArrayOutputStream()
val bootstrapZip = new ZipInputStream(Thread.currentThread().getContextClassLoader.getResourceAsStream("bootstrap.jar"))
val bootstrapZip = new ZipInputStream(new ByteArrayInputStream(bootstrapJar))
val outputZip = new ZipOutputStream(buffer)
for ((ent, data) <- zipEntries(bootstrapZip)) {