Mercurial > hg > octave-avbm
changeset 7319:4a853a9138e7
[project @ 2007-12-17 19:16:27 by jwe]
author | jwe |
---|---|
date | Mon, 17 Dec 2007 19:16:27 +0000 |
parents | 5c8f09c7a020 |
children | 70ddbed64bad |
files | scripts/ChangeLog scripts/miscellaneous/run.m |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2007-12-17 Ben Abbott <bpabbott@mac.com> + + * miscellaneous/run.m: Replace script with f when looking for + file to run. + 2007-12-17 David Bateman <dbateman@free.fr> * plot/__go_draw_axes__.m: Use "set pm3d explicit" so that
--- a/scripts/miscellaneous/run.m +++ b/scripts/miscellaneous/run.m @@ -51,8 +51,8 @@ error ("run: the path %s doesn't exist", d); endif else - if (exist (script, "file")) - evalin ("caller", [script, ";"], "rethrow (lasterror ())"); + if (exist (f, "file")) + evalin ("caller", [f, ";"], "rethrow (lasterror ())"); else error ("run: %s not found", s); endif