src/Pure/Admin/build_jdk.scala
changeset 69367 34b7550b66c7
parent 69277 258bef08b31e
child 69395 d1c4a1dee9e7
equal deleted inserted replaced
69366:b6dacf6eabe3 69367:34b7550b66c7
    95   {
    95   {
    96     try {
    96     try {
    97       val tmp_dir = dir + Path.explode("tmp")
    97       val tmp_dir = dir + Path.explode("tmp")
    98       Isabelle_System.mkdirs(tmp_dir)
    98       Isabelle_System.mkdirs(tmp_dir)
    99 
    99 
   100       if (archive.split_ext._2 == "zip") {
   100       if (archive.get_ext == "zip") {
   101         Isabelle_System.bash(
   101         Isabelle_System.bash(
   102           "unzip -x " + File.bash_path(archive.absolute), cwd = tmp_dir.file).check
   102           "unzip -x " + File.bash_path(archive.absolute), cwd = tmp_dir.file).check
   103       }
   103       }
   104       else {
   104       else {
   105         Isabelle_System.gnutar(
   105         Isabelle_System.gnutar(