changeset 232:f1c717e8a971

Delete UFL file after ufl.m closes and imports it
author Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
date Sun, 15 Jun 2014 14:49:46 +0200
parents e3f57f92fa66
children b07ec30369ab
files inst/ufl.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/inst/ufl.m	Sat Jun 14 15:27:43 2014 +0200
+++ b/inst/ufl.m	Sun Jun 15 14:49:46 2014 +0200
@@ -98,6 +98,7 @@
       compile = validatestring (varargin{2}, opts, "ufl", "content");
     endif
     eval (["import_ufl_", compile, "(\"", filename(1:end-4), "\");"]);
+    delete (filename);
     filename = "default.ufl";
   elseif (! is_valid_file_id (fid))
     error ("ufl: no open file");