src/Pure/General/path.scala
changeset 43664 47af50b0c8c5
parent 43652 dcd0b667f73d
child 43669 9d34288e9351
--- a/src/Pure/General/path.scala	Tue Jul 05 09:54:39 2011 +0200
+++ b/src/Pure/General/path.scala	Tue Jul 05 10:54:05 2011 +0200
@@ -138,11 +138,12 @@
 
   /* expand */
 
-  def expand(env: String => String): Path =
+  def expand: Path =
   {
     def eval(elem: Path.Elem): List[Path.Elem] =
       elem match {
-        case Path.Variable(s) => Path.explode(env(s)).elems
+        case Path.Variable(s) =>
+          Path.explode(Isabelle_System.getenv_strict(s)).elems
         case x => List(x)
       }