permissive Doc.dirs: some entries may be absent due to distribution bootstrap, e.g. $JEDIT_HOME/dist/doc;
authorwenzelm
Mon, 12 Feb 2018 13:27:30 +0100
changeset 67604 02cf352cbc4c
parent 67603 686679dedb46
child 67605 3dd0dfe04fcb
permissive Doc.dirs: some entries may be absent due to distribution bootstrap, e.g. $JEDIT_HOME/dist/doc;
src/Pure/Tools/doc.scala
--- a/src/Pure/Tools/doc.scala	Sun Feb 11 22:26:58 2018 +0100
+++ b/src/Pure/Tools/doc.scala	Mon Feb 12 13:27:30 2018 +0100
@@ -15,9 +15,7 @@
   /* dirs */
 
   def dirs(): List[Path] =
-    Path.split(Isabelle_System.getenv("ISABELLE_DOCS")).map(dir =>
-      if (dir.is_dir) dir
-      else error("Bad documentation directory: " + dir))
+    Path.split(Isabelle_System.getenv("ISABELLE_DOCS"))
 
 
   /* contents */