tools: Add -z to tar arguments
This commit is contained in:
@@ -52,7 +52,7 @@ class DependencyDownloader(dependenciesRoot: File, val properties: Properties, v
|
||||
|
||||
private fun extract(tarGz: File) {
|
||||
val tarProcess = ProcessBuilder().apply {
|
||||
command("tar", "-x", "-f", "${tarGz.canonicalPath}")
|
||||
command("tar", "-xzf", "${tarGz.canonicalPath}")
|
||||
directory(tarGz.parentFile)
|
||||
}.start()
|
||||
tarProcess.waitFor()
|
||||
|
||||
Reference in New Issue
Block a user