more standard path output (despite platform_path from d55eb82ae77b);
authorwenzelm
Sat, 10 Oct 2020 21:19:22 +0200
changeset 72426 f5d60c12deeb
parent 72425 d0937d55eb90
child 72427 def95a34df8e
more standard path output (despite platform_path from d55eb82ae77b);
src/Pure/System/isabelle_system.scala
--- a/src/Pure/System/isabelle_system.scala	Sat Oct 10 21:12:20 2020 +0200
+++ b/src/Pure/System/isabelle_system.scala	Sat Oct 10 21:19:22 2020 +0200
@@ -193,13 +193,13 @@
   {
     if (!path.is_dir) {
       bash("perl -e \"use File::Path make_path; make_path('" + File.standard_path(path) + "');\"")
-      if (!path.is_dir) error("Failed to create directory: " + quote(File.platform_path(path.absolute)))
+      if (!path.is_dir) error("Failed to create directory: " + path.absolute)
     }
     path
   }
 
   def new_directory(path: Path): Path =
-    if (path.is_dir) error("Directory already exists: " + quote(File.platform_path(path.absolute)))
+    if (path.is_dir) error("Directory already exists: " + path.absolute)
     else make_directory(path)
 
   def copy_dir(dir1: Path, dir2: Path): Unit =