Mercurial > octave-nkf
diff scripts/miscellaneous/run.m @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | a834b3151c7e 446c46af4b42 |
children | 4197fc428c7d |
line wrap: on
line diff
--- a/scripts/miscellaneous/run.m Tue Jan 20 09:55:41 2015 -0500 +++ b/scripts/miscellaneous/run.m Tue Jan 20 10:24:46 2015 -0500 @@ -53,11 +53,11 @@ script = [script ".m"]; endif endif - + if (! exist (script, "file")) error ("run: file SCRIPT must exist and be a valid Octave scriptfile"); endif - + if (! isempty (d)) if (exist (d, "dir")) startdir = pwd ();