--- a/src/Pure/System/isabelle_system.scala Tue Oct 11 09:37:59 2016 +0200
+++ b/src/Pure/System/isabelle_system.scala Tue Oct 11 09:41:07 2016 +0200
@@ -309,6 +309,8 @@
result(progress_stdout, progress_stderr, progress_limit, strict)
}
+ def hostname(): String = bash("hostname").check.out
+
def open(arg: String): Unit =
bash("exec \"$ISABELLE_OPEN\" " + File.bash_string(arg) + " >/dev/null 2>/dev/null &")
--- a/src/Pure/Tools/build_history.scala Tue Oct 11 09:37:59 2016 +0200
+++ b/src/Pure/Tools/build_history.scala Tue Oct 11 09:41:07 2016 +0200
@@ -217,7 +217,7 @@
/* main */
val build_history_date = Date.now()
- val build_host = Isabelle_System.bash("hostname").check.out
+ val build_host = Isabelle_System.hostname()
var first_build = true
for (threads <- threads_list) yield