Mercurial > fem-fenics-eugenio
changeset 69:6dbe66dcf1c5
Add call to make clean inside octave script
author | gedeone-octave <marco.vassallo@outlook.com> |
---|---|
date | Sat, 27 Jul 2013 18:49:25 +0200 |
parents | 4ef8dbafcdfc |
children | 602fe5295dea |
files | inst/fem_create_fs.m inst/fem_create_lhs.m inst/fem_create_rhs.m |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/inst/fem_create_fs.m Sat Jul 27 17:21:03 2013 +0200 +++ b/inst/fem_create_fs.m Sat Jul 27 18:49:25 2013 +0200 @@ -46,7 +46,7 @@ display (text); error ("Compilation failed"); endif - [output, textfile] = system ("make -f Makefile_%s clean", var_prob); + [output, textfile] = system (sprintf ("make -f Makefile_%s clean", var_prob)); if output != 0 display (text); error ("Compilation failed");
--- a/inst/fem_create_lhs.m Sat Jul 27 17:21:03 2013 +0200 +++ b/inst/fem_create_lhs.m Sat Jul 27 18:49:25 2013 +0200 @@ -47,7 +47,7 @@ display (text); error ("Compilation failed"); endif - [output, textfile] = system ("make -f Makefile_%s clean", var_prob); + [output, textfile] = system (sprintf ("make -f Makefile_%s clean", var_prob)); if output != 0 display (text); error ("Compilation failed");
--- a/inst/fem_create_rhs.m Sat Jul 27 17:21:03 2013 +0200 +++ b/inst/fem_create_rhs.m Sat Jul 27 18:49:25 2013 +0200 @@ -46,7 +46,7 @@ display (text); error ("Compilation failed"); endif - [output, textfile] = system ("make -f Makefile_%s clean", var_prob); + [output, textfile] = system (sprintf ("make -f Makefile_%s clean", var_prob)); if output != 0 display (text); error ("Compilation failed");