equal
deleted
inserted
replaced
76 Isabelle_System.with_tmp_file("rev", ext = ".tar.gz")(archive_path => |
76 Isabelle_System.with_tmp_file("rev", ext = ".tar.gz")(archive_path => |
77 { |
77 { |
78 val content = download_archive(rev = rev, progress = progress) |
78 val content = download_archive(rev = rev, progress = progress) |
79 Bytes.write(archive_path, content.bytes) |
79 Bytes.write(archive_path, content.bytes) |
80 progress.echo("Unpacking " + rev + ".tar.gz") |
80 progress.echo("Unpacking " + rev + ".tar.gz") |
81 Isabelle_System.gnutar("-xzf " + File.bash_path(archive_path) + " --strip-components=1", |
81 Isabelle_System.gnutar("-xzf " + File.bash_path(archive_path), |
82 dir = dir, original_owner = true).check |
82 dir = dir, original_owner = true, strip = 1).check |
83 }) |
83 }) |
84 } |
84 } |
85 } |
85 } |
86 |
86 |
87 |
87 |