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) {
|
private fun extract(tarGz: File) {
|
||||||
val tarProcess = ProcessBuilder().apply {
|
val tarProcess = ProcessBuilder().apply {
|
||||||
command("tar", "-x", "-f", "${tarGz.canonicalPath}")
|
command("tar", "-xzf", "${tarGz.canonicalPath}")
|
||||||
directory(tarGz.parentFile)
|
directory(tarGz.parentFile)
|
||||||
}.start()
|
}.start()
|
||||||
tarProcess.waitFor()
|
tarProcess.waitFor()
|
||||||
|
|||||||
Reference in New Issue
Block a user