Update sci

This commit is contained in:
Michiel Borkent 2020-11-15 16:49:20 +01:00
parent 41ede17be0
commit 536b2ed570
2 changed files with 5 additions and 1 deletions

2
sci

@ -1 +1 @@
Subproject commit c7c223a2318d5326747a60e5ac03a74b6c917a9b
Subproject commit 4d8d05096975a66be312ba2162d04fc53ca6b761

View file

@ -15,8 +15,12 @@
_ (.setConnectTimeout conn 2000)
_ (.setReadTimeout conn 2000)]
(.connect conn)
(binding [*out* (io/writer System/out)]
(prn :before))
(with-open [is (.getInputStream conn)]
(io/copy is zip-file))
(binding [*out* (io/writer System/out)]
(prn :after))
(let [bb-file (io/file tmp-dir "bb-extracted")
fs (java.nio.file.FileSystems/newFileSystem (.toPath zip-file) nil)
to-extract (.getPath fs "bb" (into-array String []))]