src/Pure/Thy/export.scala
changeset 78298 3b0f8f1010f2
parent 78260 0a7f7abbe4f0
child 78356 974dbe256a37
--- a/src/Pure/Thy/export.scala	Mon Jul 10 22:44:28 2023 +0200
+++ b/src/Pure/Thy/export.scala	Tue Jul 11 11:37:23 2023 +0200
@@ -548,7 +548,7 @@
           Isabelle_System.make_directory(path.dir)
           val bytes = entry.bytes
           if (!path.is_file || Bytes.read(path) != bytes) Bytes.write(path, bytes)
-          File.set_executable(path, flag = entry.executable)
+          File.set_executable(path, reset = !entry.executable)
         }
       }
     }