# HG changeset patch # User jwe # Date 1197918987 0 # Node ID 4a853a9138e7743a596e9af4e66b17f9cbd4d826 # Parent 5c8f09c7a02082004c104f2e7db08c20ff0c9b0c [project @ 2007-12-17 19:16:27 by jwe] diff -r 5c8f09c7a020 -r 4a853a9138e7 scripts/ChangeLog --- a/scripts/ChangeLog Mon Dec 17 19:05:04 2007 +0000 +++ b/scripts/ChangeLog Mon Dec 17 19:16:27 2007 +0000 @@ -1,3 +1,8 @@ +2007-12-17 Ben Abbott + + * miscellaneous/run.m: Replace script with f when looking for + file to run. + 2007-12-17 David Bateman * plot/__go_draw_axes__.m: Use "set pm3d explicit" so that diff -r 5c8f09c7a020 -r 4a853a9138e7 scripts/miscellaneous/run.m --- a/scripts/miscellaneous/run.m Mon Dec 17 19:05:04 2007 +0000 +++ b/scripts/miscellaneous/run.m Mon Dec 17 19:16:27 2007 +0000 @@ -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