src/Tools/Code/code_scala.ML
changeset 37669 a5da34455a5c
parent 37661 f6b592f2aca4
child 37745 6315b6426200
     1.1 --- a/src/Tools/Code/code_scala.ML	Thu Jul 01 13:38:17 2010 +0200
     1.2 +++ b/src/Tools/Code/code_scala.ML	Thu Jul 01 13:47:27 2010 +0200
     1.3 @@ -376,7 +376,7 @@
     1.4            | _ => (Path.ext "scala" o Path.explode o implode o separate "/"
     1.5                  o Long_Name.explode) modlname;
     1.6          val pathname = Path.append destination filename;
     1.7 -        val _ = File.mkdir (Path.dir pathname);
     1.8 +        val _ = File.mkdir_leaf (Path.dir pathname);
     1.9        in File.write pathname (code_of_pretty content) end
    1.10    in
    1.11      Code_Target.mk_serialization target NONE