clarified signature;
authorwenzelm
Wed, 27 Mar 2024 13:19:21 +0100
changeset 80025 d1ac1bb01060
parent 80024 27f2a6bd5616
child 80026 a03a7d4b82f8
clarified signature;
src/Pure/System/setup_tool.scala
--- a/src/Pure/System/setup_tool.scala	Wed Mar 27 13:17:22 2024 +0100
+++ b/src/Pure/System/setup_tool.scala	Wed Mar 27 13:19:21 2024 +0100
@@ -19,11 +19,11 @@
 extends Isabelle_System.Service {
   override def toString: String = tool
 
-  val files: List[Path] = List(Path.explode("lib/Tools") + Path.basic(tool))
+  val test_file: Path = Path.explode("lib/Tools") + Path.basic(tool)
 
   def test(other_isabelle: Other_Isabelle): Boolean =
     other_isabelle.getenv(variable) == "true" &&
-    files.exists(p => other_isabelle.ssh.is_file(other_isabelle.isabelle_home + p))
+    other_isabelle.ssh.is_file(other_isabelle.isabelle_home + test_file)
 
   def run(other_isabelle: Other_Isabelle, verbose: Boolean = false): Unit =
     other_isabelle.bash("bin/isabelle " + Bash.string(tool), echo = verbose)