proper src1, amending 20157c8ab3f3;
authorwenzelm
Sat, 27 Feb 2021 20:49:38 +0100
changeset 73321 0b8411b27059
parent 73320 20157c8ab3f3
child 73322 5b15eee1a661
proper src1, amending 20157c8ab3f3;
src/Pure/System/isabelle_system.scala
--- a/src/Pure/System/isabelle_system.scala	Sat Feb 27 19:51:56 2021 +0100
+++ b/src/Pure/System/isabelle_system.scala	Sat Feb 27 20:49:38 2021 +0100
@@ -231,7 +231,7 @@
   {
     val src1 = src.expand
     val src1_dir = src1.dir
-    if (!src.starts_basic) error("Illegal path specification " + src1 + " beyond base directory")
+    if (!src1.starts_basic) error("Illegal path specification " + src1 + " beyond base directory")
     copy_file(base_dir + src1, Isabelle_System.make_directory(target_dir + src1_dir))
   }