src/Pure/System/isabelle_system.scala
changeset 73321 0b8411b27059
parent 73320 20157c8ab3f3
child 73322 5b15eee1a661
equal deleted inserted replaced
73320:20157c8ab3f3 73321:0b8411b27059
   229 
   229 
   230   def copy_file_base(base_dir: Path, src: Path, target_dir: Path): Unit =
   230   def copy_file_base(base_dir: Path, src: Path, target_dir: Path): Unit =
   231   {
   231   {
   232     val src1 = src.expand
   232     val src1 = src.expand
   233     val src1_dir = src1.dir
   233     val src1_dir = src1.dir
   234     if (!src.starts_basic) error("Illegal path specification " + src1 + " beyond base directory")
   234     if (!src1.starts_basic) error("Illegal path specification " + src1 + " beyond base directory")
   235     copy_file(base_dir + src1, Isabelle_System.make_directory(target_dir + src1_dir))
   235     copy_file(base_dir + src1, Isabelle_System.make_directory(target_dir + src1_dir))
   236   }
   236   }
   237 
   237 
   238 
   238 
   239   /* move */
   239   /* move */