equal
deleted
inserted
replaced
507 Isabelle_System.with_tmp_file("archive", ext = "tar.gz")(archive_path => |
507 Isabelle_System.with_tmp_file("archive", ext = "tar.gz")(archive_path => |
508 { |
508 { |
509 Bytes.write(archive_path, archive.bytes) |
509 Bytes.write(archive_path, archive.bytes) |
510 val extract = |
510 val extract = |
511 List("README", "NEWS", "ANNOUNCE", "COPYRIGHT", "CONTRIBUTORS", "doc"). |
511 List("README", "NEWS", "ANNOUNCE", "COPYRIGHT", "CONTRIBUTORS", "doc"). |
512 map(name => context.release_name + "/" + name) |
512 map(name => context.dist_name + "/" + name) |
513 execute_tar(context.dist_dir, |
513 execute_tar(context.dist_dir, |
514 "-xzf " + File.bash_path(archive_path) + " " + Bash.strings(extract)) |
514 "-xzf " + File.bash_path(archive_path) + " " + Bash.strings(extract)) |
515 }) |
515 }) |
516 |
516 |
517 Isabelle_System.symlink(Path.explode(context.dist_name), context.dist_dir + ISABELLE) |
517 Isabelle_System.symlink(Path.explode(context.dist_name), context.dist_dir + ISABELLE) |