tuned;
authorwenzelm
Sun, 22 Jan 2017 12:46:19 +0100
changeset 64930 8d30727cd56f
parent 64929 3b4e5fad4dc2
child 64931 111d58654822
tuned;
src/Pure/Admin/build_jdk.scala
--- a/src/Pure/Admin/build_jdk.scala	Sun Jan 22 00:30:10 2017 +0100
+++ b/src/Pure/Admin/build_jdk.scala	Sun Jan 22 12:46:19 2017 +0100
@@ -118,8 +118,7 @@
 
       val platform_dir = dir + Path.explode(platform.name)
       if (platform_dir.is_dir) error("Directory already exists: " + platform_dir)
-      Isabelle_System.bash(
-        "mv " + File.bash_path(jdk_dir) + " " + File.bash_path(platform_dir)).check
+      File.move(jdk_dir, platform_dir)
 
       (version, platform)
     }
@@ -163,11 +162,8 @@
         File.write(component_dir + Path.explode("etc/settings"), settings)
         File.write(component_dir + Path.explode("README"), readme(version))
 
-        for ((_, platform) <- extracted) {
-          Isabelle_System.bash("mv " +
-            File.bash_path(dir + Path.explode(platform.name)) + " " +
-            File.bash_path(component_dir)).check
-        }
+        for ((_, platform) <- extracted)
+          File.move(dir + Path.explode(platform.name), component_dir)
 
         Isabelle_System.bash(cwd = component_dir.file,
           script = """