src/Pure/Tools/phabricator.scala
changeset 76540 83de6e9ae983
parent 76529 ded37aade88e
child 77368 7c57d9586f4c
equal deleted inserted replaced
76539:8c94ca4dd035 76540:83de6e9ae983
   202           Isabelle_System.download_file(mercurial_source, archive)
   202           Isabelle_System.download_file(mercurial_source, archive)
   203           archive
   203           archive
   204         }
   204         }
   205         else Path.explode(mercurial_source)
   205         else Path.explode(mercurial_source)
   206 
   206 
   207       Isabelle_System.gnutar("-xzf " + File.bash_path(archive), dir = tmp_dir).check
   207       Isabelle_System.extract(archive, tmp_dir)
   208       val build_dir = File.get_dir(tmp_dir, title = mercurial_source)
   208       val build_dir = File.get_dir(tmp_dir, title = mercurial_source)
   209 
   209 
   210       progress.bash("make all && make install", cwd = build_dir.file, echo = true).check
   210       progress.bash("make all && make install", cwd = build_dir.file, echo = true).check
   211     }
   211     }
   212   }
   212   }