more elementary command-line, following lib/Tools/components;
authorwenzelm
Mon, 23 Jan 2023 20:27:46 +0100
changeset 77058 44f79689115d
parent 77057 e233054dcb00
child 77059 422c57b75b17
more elementary command-line, following lib/Tools/components;
src/Pure/System/components.scala
--- a/src/Pure/System/components.scala	Mon Jan 23 20:23:48 2023 +0100
+++ b/src/Pure/System/components.scala	Mon Jan 23 20:27:46 2023 +0100
@@ -51,7 +51,8 @@
   def unpack(dir: Path, archive: Path, progress: Progress = new Progress): String = {
     val name = Archive.get_name(archive.file_name)
     progress.echo("Unpacking " + name)
-    Isabelle_System.extract(archive, dir)
+    Isabelle_System.bash(
+      "tar -C " + File.bash_path(dir) + " -x -z -f " + File.bash_path(archive)).check
     name
   }