Skip to content

Commit

Permalink
print and test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Adamczyk committed Jan 26, 2021
1 parent 60ce912 commit fabdbce
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,19 @@ private fun downloadAndUnzip(osname: String) {
sourceUrl = "https://github.com/Flank/binaries/releases/download/$osname/binaries.zip",
destinationPath = destinationFile
)
Files.walk(flankBinariesDirectory).forEach {
println("File ${it.fileName}")
}
createDirectoryIfNotExist(flankBinariesDirectory)

unzipFile(destinationFile.toFile().absoluteFile, flankBinariesDirectory.toAbsolutePath().toString())
.forEach {
logLn("Binary file $it copied to $flankBinariesDirectory", OutputLogLevel.DETAILED)
it.setExecutable(true)
}
Files.walk(flankBinariesDirectory).forEach {
println("File ${it.fileName}")
}
Files.delete(destinationFile)
createSymbolicLinkToFile(
link = Paths.get(flankBinariesDirectory.toString(), "libatomic.so.1"),
Expand Down

0 comments on commit fabdbce

Please sign in to comment.