tuned
authorLars Hupel <lars.hupel@mytum.de>
Sun, 10 Jul 2016 22:05:18 +0200
changeset 63418 ce7088e0e628
parent 63417 c184ec919c70
child 63436 9974230f9574
tuned
src/Pure/Tools/ci_profile.scala
--- a/src/Pure/Tools/ci_profile.scala	Sat Jul 09 13:26:16 2016 +0200
+++ b/src/Pure/Tools/ci_profile.scala	Sun Jul 10 22:05:18 2016 +0200
@@ -42,10 +42,17 @@
   private def load_properties(): JProperties =
   {
     val props = new JProperties()
-    val file = Path.explode(Isabelle_System.getenv_strict("ISABELLE_CI_PROPERTIES")).file
-    if (file.exists())
-      props.load(new java.io.FileReader(file))
-    props
+    val file_name = Isabelle_System.getenv("ISABELLE_CI_PROPERTIES")
+
+    if (file_name != "")
+    {
+      val file = Path.explode(file_name).file
+      if (file.exists())
+        props.load(new java.io.FileReader(file))
+      props
+    }
+    else
+      props
   }
 
   private def compute_timing(results: Build.Results, group: Option[String]): Timing =